Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
1304b264
Commit
1304b264
authored
Mar 02, 2017
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added logging props
parent
eb9d27df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
26 deletions
+36
-26
log4j.properties
drip-api/src/main/resources/log4j.properties
+22
-26
logging.properties
drip-api/src/main/resources/logging.properties
+14
-0
No files found.
drip-api/src/main/resources/log4j.properties
View file @
1304b264
#
Internal log4j configuration. This is not packaged and distributed. The using
#
LOG4J Configuration
#
party is in control of its own log4j.properties.
#
===================
# Root logger option
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger
=
INFO, stdout
log4j.rootLogger
=
FINE, A1
# Direct log messages to stdout
log4j.appender.stdout
=
org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target
=
System.out
log4j.appender.stdout.layout
=
org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern
=
%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
log4j.appender.authorizationLog
=
org.apache.log4j.RollingFileAppender
log4j.appender.authorizationLog.File
=
logs/authorization.log
log4j.appender.authorizationLog.MaxFileSize
=
20MB
log4j.appender.authorizationLog.MaxBackupIndex
=
10
log4j.appender.authorizationLog.layout
=
org.apache.log4j.PatternLayout
log4j.appender.authorizationLog.layout.ConversionPattern
=
%d{yyyy-MM-dd HH:mm:ss} %-5p - %m%n
log4j.appender.authenticationLog
=
org.apache.log4j.RollingFileAppender
log4j.category.org.apache.http
=
OFF
log4j.appender.authenticationLog.File
=
logs/authentication.log
log4j.category.io.milton
=
OFF
log4j.appender.authenticationLog.MaxFileSize
=
20MB
log4j.category.org.apache.commons
=
OFF
log4j.appender.authenticationLog.MaxBackupIndex
=
10
log4j.category.org.globus
=
OFF
log4j.appender.authenticationLog.layout
=
org.apache.log4j.PatternLayout
log4j.org.apache.axis
=
OFF
log4j.appender.authenticationLog.layout.ConversionPattern
=
%d{yyyy-MM-dd HH:mm:ss} %-5p - %m%n
log4j.org.apache.http
=
OFF
log4j.org.apache.jackrabbit
=
OFF
log4j.logger.org.apache.jackrabbit
=
OFF
log4j.logger.httpclient.wire.header
=
OFF
log4j.logger.httpclient.wire.content
=
OFF
log4j.logger.org.globus
=
OFF
log4j.logger.io.milton
=
SEVERE
log4j.io.milton
=
SEVERE
log4j.category.authorizationLogger
=
TRACE, authorizationLog
# A1 is set to be a ConsoleAppender.
#log4j.additivity.authorizationLogger=false
log4j.appender.A1
=
org.apache.log4j.ConsoleAppender
log4j.category.authenticationLogger
=
DEBUG, authenticationLog
# A1 uses PatternLayout.
#
log4j.additivity.authenticationLogger
=
false
log4j.appender.A1.layout
=
org.apache.log4j.PatternLayout
\ No newline at end of file
log4j.appender.A1.layout.ConversionPattern
=
%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
\ No newline at end of file
drip-api/src/main/resources/logging.properties
0 → 100644
View file @
1304b264
handlers
=
org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
nl.uva.cs.level
=
FINE
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
org.apache.juli.FileHandler.level
=
FINE
org.apache.juli.FileHandler.directory
=
${catalina.base}/logs
java.util.logging.ConsoleHandler.level
=
FINE
java.util.logging.ConsoleHandler.formatter
=
java.util.logging.SimpleFormatter
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment