[DRBD-user] linstor-controller: ever growing rest-access.log

Rene Peinthor rene.peinthor at linbit.com
Tue Jun 16 07:56:20 CEST 2020

It seems while we reworked the config parsing, we unintentionally changed
the enum values for that setting.
This affects all versions starting with 1.4.3.

The new values are the following:

# rest_access_log_mode configures the way the log is archived
#   - "APPEND" will always append to the same file
#   - "ROTATE_HOURLY" will rotate the file on an hourly basis
#   - "ROTATE_DAILY"  will rotate the file on a daily basis
#   - "NO_LOG" will not write a access log file
rest_access_log_mode = "NO_LOG"

We also already changed the default value for the rest-access-log-mode,
starting with 1.8.0 it will be off by default.

Best regards,

On Mon, Jun 15, 2020 at 5:05 PM Andreas Pflug <pgadmin at pse-consulting.de>

> I complained about the ever-growing rest-access.log earlier, and was
> noted "there will be some config options to disable access log" in the
> next version. And yes, the next version had rest_access_log_mode in the
> linstor.toml-example file.
> My linstor.toml shows:
> [logging]
>   level = "info"
>   # make sure we're on the right config file
>   rest_access_log_path = "rest-access-x.log"
>   rest_access_log_mode = "nolog"
> And the rest-access-x.log is constantly growing....
> Regards,
> Andreas
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user at lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20200616/fbec3df0/attachment.htm>

More information about the drbd-user mailing list