Skip to content

Commit

Permalink
chore: log debug messages to stdout in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Feb 3, 2017
1 parent fc9a419 commit 3e24394
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/docker/conf/zanata-config.cli
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ data-source add --name=zanataDatasource \
# /subsystem=logging/logger=LOG_CATEGORY:write-attribute(name=level,value=DEBUG)
# /subsystem=logging/logger=LOG_CATEGORY:write-attribute(name=filter-spec, value=FILTER_EXPRESSION)

## Remove default file logging (server.log)
/subsystem=logging/root-logger=ROOT:remove-handler(name=FILE)
/subsystem=logging/periodic-rotating-file-handler=FILE:remove

## Allow stdout handler to include DEBUG/TRACE logging
/subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=TRACE)

## JDBC connection allocation/release will be logged to server.log
/subsystem=logging/logger=org.hibernate.engine.jdbc.internal.LogicalConnectionImpl:add
/subsystem=logging/logger=org.hibernate.engine.jdbc.internal.LogicalConnectionImpl:write-attribute(name=level,value=DEBUG)
Expand Down

0 comments on commit 3e24394

Please sign in to comment.