dheeraj12347 opened a new pull request, #12896:
URL: https://github.com/apache/cloudstack/pull/12896
Management, server and agent .err files are fed from the Java process
console/stderr by the systemd units.
Previously, the CONSOLE appender patterns in:
client/conf/log4j-cloud.xml.in
server/conf/log4j-cloud.xml.in
agent/conf/log4j-cloud.xml.in
did not always include a timestamp, so .err lines lacked timestamps.
This change updates those CONSOLE appenders to use the same timestamped
pattern as the existing rolling file appenders by adding %d{DEFAULT} at the
start of the layout pattern.
Hyper-V’s plugins/hypervisors/hyperv/conf/log4j-cloud.xml.in already had a
timestamped console pattern and was left unchanged.
This ensures .err logs for management, server and agent now include
timestamps on every line, addressing issue #12887.
--
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]