OX6:Setting Loglevels: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Open-Xchange loglevels = | |||
The loglevel Open-Xchange backend is using for each single class can be defined in the file <tt>/opt/open-xchange/etc/file-logging.properties</tt>. | |||
To increase the loglevel of the complete Open-Xchange software stack, set | |||
<pre> | <pre> | ||
.level = | .level = ALL | ||
</pre> | </pre> | ||
to | on top of that file. | ||
As also explained on top of the same file, the following loglevels exist: | |||
* ALL | |||
* INFO | |||
* FINE | |||
When you changed any value, a restart of the Open-Xchange server is required. | |||
== Change loglevel without restarting Open-Xchange == | |||
It is also possible to change the loglevel while Open-Xchange is running. This can be achieved by the tool <tt>showruntimestats</tt>. | |||
Given the same example as above, changing loglevel to ALL of the complete Open-Xchange stack, run | |||
$ /opt/open-xchange/sbin/showruntimestats -d 'java.util.logging:type=Logging!setLoggerLevel!!ALL!' | |||
and to revert back either restart Open-Xchange or run | |||
$ /opt/open-xchange/sbin/showruntimestats -d 'java.util.logging:type=Logging!setLoggerLevel!!INFO!' | |||
. | |||
'''Note:''' Changing loglevel via this tool does not change it permanently. After a restart, the values from the file <tt>/opt/open-xchange/etc/file-logging.properties</tt> | |||
are used again. |
Revision as of 08:17, 30 August 2013
Open-Xchange loglevels
The loglevel Open-Xchange backend is using for each single class can be defined in the file /opt/open-xchange/etc/file-logging.properties.
To increase the loglevel of the complete Open-Xchange software stack, set
.level = ALL
on top of that file.
As also explained on top of the same file, the following loglevels exist:
- ALL
- INFO
- FINE
When you changed any value, a restart of the Open-Xchange server is required.
Change loglevel without restarting Open-Xchange
It is also possible to change the loglevel while Open-Xchange is running. This can be achieved by the tool showruntimestats.
Given the same example as above, changing loglevel to ALL of the complete Open-Xchange stack, run
$ /opt/open-xchange/sbin/showruntimestats -d 'java.util.logging:type=Logging!setLoggerLevel!!ALL!'
and to revert back either restart Open-Xchange or run
$ /opt/open-xchange/sbin/showruntimestats -d 'java.util.logging:type=Logging!setLoggerLevel!!INFO!'
Note: Changing loglevel via this tool does not change it permanently. After a restart, the values from the file /opt/open-xchange/etc/file-logging.properties are used again.