diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-11-17 00:27:58 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-11-18 02:41:31 +0100 |
commit | e674bc51b4d23bc362a1312addd0b09625cf5747 (patch) | |
tree | 88f6f3a9f1cfa3f24b609b0553006e02ba44c3e3 /base/server/share/conf | |
parent | 3d1b89070c252668352be34c1ed98aaa2e4ee199 (diff) | |
download | pki-e674bc51b4d23bc362a1312addd0b09625cf5747.tar.gz pki-e674bc51b4d23bc362a1312addd0b09625cf5747.tar.xz pki-e674bc51b4d23bc362a1312addd0b09625cf5747.zip |
Updated logging.properties.
To reduce maintenance the logging.properties is no longer copied
into the instance folder during deployment. Instead, a link will
be created in /etc/pki/<instance> pointing to the default file
in /usr/share/pki/server/conf.
The default logging.properties has been updated to only log
messages with level WARNING or higher on the console.
https://fedorahosted.org/pki/ticket/1897
Diffstat (limited to 'base/server/share/conf')
-rw-r--r-- | base/server/share/conf/logging.properties | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/base/server/share/conf/logging.properties b/base/server/share/conf/logging.properties index dfdc0a40f..7c1ac37ec 100644 --- a/base/server/share/conf/logging.properties +++ b/base/server/share/conf/logging.properties @@ -21,28 +21,11 @@ handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler -.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler - ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ -# Change the following settings to allow for more granular debugging: -# -# * 1catalina.org.apache.juli.FileHandler.level = ALL -# * 2localhost.org.apache.juli.FileHandler.level = ALL -# -# and add the following lines to the end of this file: -# -# * org.apache.catalina.loader.level = FINEST -# * org.apache.catalina.loader.WebappClassLoader.level = FINEST -# * org.apache.catalina.loader.StandardClassLoader.level = FINEST -# * com.netscape.cms.servlet.base.level = FINEST -# * com.netscape.cms.servlet.base.CMSStartServlet.level = FINEST -# * java.net.URLClassLoader.level = FINEST -# - 1catalina.org.apache.juli.FileHandler.level = FINE 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.FileHandler.prefix = catalina. @@ -59,15 +42,18 @@ handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.Fil 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 4host-manager.org.apache.juli.FileHandler.prefix = host-manager. -java.util.logging.ConsoleHandler.level = FINE +java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter - +java.util.logging.SimpleFormatter.format = %4$s: %5$s%6$s%n ############################################################ # Facility specific properties. # Provides extra control for each logger. ############################################################ +.level = WARNING +.handlers = java.util.logging.ConsoleHandler + org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler |