Created
May 24, 2011 21:56
-
-
Save terrancesnyder/989837 to your computer and use it in GitHub Desktop.
logging.properties - default logging.properties for shared use in tomcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================================================== | |
# ______ __ _____ | |
# /_ __/___ ____ ___ _________ _/ /_ /__ / | |
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / / | |
# / / / /_/ / / / / / / /__/ /_/ / /_ / / | |
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/ | |
# Multi-instance Apache Tomcat installation with a focus | |
# on best-practices as defined by Apache, SpringSource, and MuleSoft | |
# and enterprise use with large-scale deployments. | |
# Credits: | |
# Google -> Couldn't survive without it | |
# Stackoverflow.com -> Community support | |
# SpringSource -> Specifically best-practices and seminars (Expert Series) | |
# Based On: | |
# http://www.springsource.com/files/uploads/tomcat/tomcatx-performance-tuning.pdf | |
# http://www.springsource.com/files/u1/PerformanceTuningApacheTomcat-Part2.pdf | |
# http://www.springsource.com/files/uploads/tomcat/tomcatx-large-scale-deployments.pdf | |
# Created By: Terrance A. Snyder | |
# URL: http://www.terranceasnyder.com, http://shutupandcode.net | |
# Best Practice Documentation: | |
# http://terranceasnyder.com/2011/05/tomcat-best-practices/ | |
# Looking for the latest version? | |
# github @ https://github.com/terrancesnyder | |
# ================================================================== | |
############################################################ | |
# Tomcat 7 Logging: | |
# >> Uses new async file writter for non-blocking writes to | |
# logs for better performance. | |
# >> Uses new OneLineFormatter to make grepping logs easier | |
# and friendlier to admins. | |
############################################################ | |
handlers = 1catalina.org.apache.juli.AsyncFileHandler, \ | |
java.util.logging.ConsoleHandler | |
.handlers = 1catalina.org.apache.juli.AsyncFileHandler | |
############################################################ | |
# Handler specific properties. | |
# Describes specific configuration info for Handlers. | |
############################################################ | |
1catalina.org.apache.juli.AsyncFileHandler.level = FINE | |
1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs | |
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina. | |
1catalina.org.apache.juli.AsyncFileHandler.formatter = org.apache.juli.OneLineFormatter | |
java.util.logging.ConsoleHandler.level = FINE | |
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment