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, Rene On Mon, Jun 15, 2020 at 5:05 PM Andreas Pflug <[email protected]> wrote: > 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 > [email protected] > https://lists.linbit.com/mailman/listinfo/drbd-user >
_______________________________________________ Star us on GITHUB: https://github.com/LINBIT drbd-user mailing list [email protected] https://lists.linbit.com/mailman/listinfo/drbd-user
