dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09546
Tomcat Logging Levels / DHIS2
Hi all,
Can anyone provide me with details of how to make changes to DHIS2 Tomcat
logging levels?
I have tried editing logging.properties in [BASE]/conf, and turning off
logging (and various other attempts at different levels, such as SEVERE,
WARNING, etc) using the folling settings:
------------------------
1catalina.org.apache.juli.FileHandler.level = OFF
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.
2localhost.org.apache.juli.FileHandler.level = OFF
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.
java.util.logging.ConsoleHandler.level = OFF
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
…
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = OFF
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers =
2localhost.org.apache.juli.FileHandler
------------------------
And still no joy – DHIS2 logs away, regardless. I have set the levels to
alternating variants of SEVERE, FINE, FINEST, WARNING and others to no
discernible effect.
Any info would be most appreciated.
Also, while on the subject, I notice that logging duplication appears to be
happening in the [BASE]/conf/logs folder, albeit separated into different
files based on function/origin.
Are those logs affected by the same settings/properties, and how does one
manipulate their levels, in addition to or separately from, the standard
catalina.out?
Kind Regards,
*Jason Phillips*
[image: hisp]
*Information Systems / Infrastructure*
*Health Information Systems Program____________________________________*
eMail: jason@xxxxxxxx
Landline: +27 21 712 0170
Mobile: +27 72 973 7250
Skype: jason.n.phillips
This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer. Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission. If you cannot access the
disclaimer, kindly send an email to disclaimer@xxxxxxxx and a copy will be
provided to you. By replying to this e-mail or opening any attachment you
agree to be bound by the provisions of the disclaimer.
--
*This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer
<http://www.hisp.org/policies.html#comms_disclaimer>. Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission. If you cannot access the
disclaimer, kindly send an email to disclaimer@xxxxxxxx
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to
this e-mail or opening any attachment you agree to be bound by the
provisions of the disclaimer.*
Follow ups