You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2024/10/22 14:32:30 UTC
(directory-server) branch master updated: Fix log timestamp format. (#241)
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git
The following commit(s) were added to refs/heads/master by this push:
new b35daec11b Fix log timestamp format. (#241)
b35daec11b is described below
commit b35daec11befed5b2625f07ef77b89e8b2985536
Author: Darren Maki <ba...@users.noreply.github.com>
AuthorDate: Tue Oct 22 10:32:23 2024 -0400
Fix log timestamp format. (#241)
* Fix log timestamp format.
The date component of the log timestamp is using minutes for the month value.
* More fixes to log timestamp format.
The time component of the log timestamp is using seconds for the milliseconds value.
---
service/log4j.properties | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/service/log4j.properties b/service/log4j.properties
index 92626e3502..580c535343 100644
--- a/service/log4j.properties
+++ b/service/log4j.properties
@@ -27,9 +27,9 @@ log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=5
log4j.appender.R.layout=org.apache.log4j.PatternLayout
-log4j.appender.R.layout.ConversionPattern=[%d{yyyy-mm-dd'T'HH:mm:ss.sssZ}] %p [%c] - %m%n
+log4j.appender.R.layout.ConversionPattern=[%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}] %p [%c] - %m%n
-log4j.appender.stdout.layout.ConversionPattern=[%d{yyyy-mm-dd'T'HH:mm:ss.sssZ}] %p [%c] - %m%n
+log4j.appender.stdout.layout.ConversionPattern=[%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}] %p [%c] - %m%n
# to enabled debugging change the root and the below logger levels to debug and restart the server
log4j.logger.org.apache.directory.server=WARN