<div dir="ltr"><div dir="ltr">It seems while we reworked the config parsing, we unintentionally changed the enum values for that setting.<div>This affects all versions starting with 1.4.3.</div><div><br></div><div>The new values are the following:</div><div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"Source Code Pro",monospace;font-size:9.8pt"># rest_access_log_mode configures the way the log is archived<br># - "APPEND" will always append to the same file<br># - "ROTATE_HOURLY" will rotate the file on an hourly basis<br># - "ROTATE_DAILY" will rotate the file on a daily basis<br># - "NO_LOG" will not write a access log file<br>rest_access_log_mode = "NO_LOG"</pre></div></div><div><br></div><div>We also already changed the default value for the rest-access-log-mode, starting with 1.8.0 it will be off by default.<br></div><div><br></div><div>Best regards,</div><div>Rene</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 5:05 PM Andreas Pflug <<a href="mailto:pgadmin@pse-consulting.de">pgadmin@pse-consulting.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I complained about the ever-growing rest-access.log earlier, and was<br>
noted "there will be some config options to disable access log" in the<br>
next version. And yes, the next version had rest_access_log_mode in the<br>
linstor.toml-example file.<br>
<br>
My linstor.toml shows:<br>
[logging]<br>
level = "info"<br>
# make sure we're on the right config file<br>
rest_access_log_path = "rest-access-x.log"<br>
rest_access_log_mode = "nolog"<br>
<br>
And the rest-access-x.log is constantly growing....<br>
<br>
Regards,<br>
Andreas<br>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="https://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">https://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div></div>