Skip to content

Commit 300e209

Browse files
authored
Merge pull request #1362 from liangxin1300/20240319_log_format
Dev: log: Set the log format for crmsh.log as rfc5424
2 parents 1b89f20 + 300dcbd commit 300e209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crmsh/log.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _open(self):
228228
},
229229
"file": {
230230
"format": "%(asctime)s {} %(name)s: %(levelname)s: %(message)s".format(socket.gethostname()),
231-
"datefmt": "%b %d %H:%M:%S",
231+
"datefmt": "%Y-%m-%dT%H:%M:%S%z",
232232
}
233233
},
234234
"filters": {

0 commit comments

Comments
 (0)