development icon indicating copy to clipboard operation
development copied to clipboard

Unwanted line feed inserted into the end of logs relating to APP in server.log of APP domain

Open toshihiro-shiino opened this issue 7 years ago • 0 comments

There is unwanted line feed inserted into the end of logs relating APP in server.log of APP domain as shown below:

[#|2017-03-23T01:57:23.767+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=1;_ThreadName=Thread-2;|2017-03-23 01:57:23,767 [main] - INFO  - Timer initialization start
|#]

The reason seems to be additional '%n' attached in the end of log4j.appender.CONSOLE.layout.ConversionPattern as following:

https://github.com/servicecatalog/development/blob/master/oscm-app/javares/log4j.properties.template#L19

log4j.appender.CONSOLE.layout.ConversionPattern=%d [%t] - %-5p - %m%n

Please kindly confirm the above issue.

toshihiro-shiino avatar Mar 30 '17 01:03 toshihiro-shiino