Introduce logging in TomcatWebSocketTestServer
This commit replaces calls to System.out.println() with explicit logging.
This commit is contained in:
@@ -2,7 +2,13 @@ log4j.appender.console=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%-5p] [%c] - %m%n
|
||||
|
||||
log4j.rootCategory=WARN, console
|
||||
log4j.appender.file=org.apache.log4j.FileAppender
|
||||
log4j.appender.file.file=bin/spring-websocket.log
|
||||
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n
|
||||
|
||||
log4j.rootCategory=WARN, console, file
|
||||
|
||||
log4j.logger.org.springframework.web=WARN
|
||||
log4j.logger.org.springframework.web.socket=WARN
|
||||
log4j.logger.org.springframework.messaging=WARN
|
||||
|
||||
Reference in New Issue
Block a user