dheeraj12347 commented on code in PR #12967:
URL: https://github.com/apache/cloudstack/pull/12967#discussion_r3078744273
##########
server/conf/log4j-cloud.xml.in:
##########
@@ -68,7 +64,7 @@ under the License.
<Console name="CONSOLE" target="SYSTEM_OUT">
<ThresholdFilter level="OFF" onMatch="ACCEPT" onMismatch="DENY"/>
- <PatternLayout pattern="%-5p [%c{1.}] (%t:%x) %m%ex%n"/>
+ <PatternLayout pattern="%d{DEFAULT} %-5p [%c{1.}] (%t:%x) %m%ex%n"/>
Review Comment:
> I think we need to double check this, @dheeraj12347 . I looked in an env
and the .out file already contains the date stamps for each line. The .err file
doesn’t .
You’re right, Daan – .out already had timestamps while .err didn’t. I’ve now
added a CONSOLE_ERR appender using SYSTEM_ERR with the same timestamped
pattern, so stderr (and thus the .err files) will get timestamps as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]