How to change the log level in urbackup-server docker?

With a recent change the default log level of the server image has been set to “warn”. How can it be changed to “info”?

I do not see the setting in the GUI.

Thanks

I think you can override the default docker params

How can I do that? Is there an environmental variable?

Thanks for your support and for this great software!!!

Sry, I’m not using Docker to run urbackup

I think it needs to read the config settings from environment variables as well. Will change it this way, but that will only be available with the next server release.

1 Like

That would be great!!!

Next server release would be the image for urbackup-server 2.5.36 or 2.5.37? Currently the image is 2.5.35.

Next server release will be 2.5.37 . Then I can update the Docker to remove the arguments again.

I only changed it in latest. You could use the 2.5.x tag. I don’t think that has the arguments

1 Like

A way to achieve my goal with the current image is to add a “command” line to the docker-compose.yaml like this:

services:
  urbackup:
    image: uroni/urbackup-server:latest
    command: ["run", "-v", "info", "-g", "20971520", "-b", "enp2s0"]
    container_name: urbackup
  [...]

Arguments for the command can be identified with

urbackupsrv run --help

after opening a terminal inside the container.

I think using the configuration file with the image would be a more common approach as it is used in the non-docker implementations of urbackup.