Debug log is not saving its state between restarts
Description
Looks like debug log can't be Enabled for good. It gets disabled after a server restart. Also some users report (although they use Linux), that they don't get any logs at all. If i enable it i get a few lines like
I don't know what the intention was, but i remember it saving the debug log state many years ago. And i was actually able to read the debug log in the Admin Console after the restart.
Tom Evans October 28, 2014 at 7:19 PM
Due to the very large size of the debug logs, enabling the debug log (via the admin console) was originally intended to be a transient setting. However, as part of the changes made in we added the ability to enable the debug log permanently via a setting in openfire.xml:
<log><debug><enabled>true</enabled></debug></log>
This setting will persist across restarts.
Daryl Herzmann October 27, 2014 at 6:03 PM
This issue is still valid with current development version. It appears disabling debug from the admin console does not update the openfire.xml setting for debug.
Looks like debug log can't be Enabled for good. It gets disabled after a server restart. Also some users report (although they use Linux), that they don't get any logs at all. If i enable it i get a few lines like
2011.06.19 21:58:19 JettyLog: servlet holder=
2011.06.19 21:58:19 JettyLog: chain=
2011.06.19 21:58:19 JettyLog: servlet holder=
2011.06.19 21:58:19 JettyLog: chain=
2011.06.19 21:58:19 JettyLog: servlet holder=
2011.06.19 21:58:19 JettyLog: chain=
2011.06.19 21:58:19 JettyLog: servlet holder=
2011.06.19 21:58:19 JettyLog: chain=
If i then try to chat in my client i get some additional debug lines. But it won't show anything after a restart and Disabled will be marked again.