Skip to content

Commit

Permalink
Merge pull request ClusterLabs#1362 from liangxin1300/20240319_log_fo…
Browse files Browse the repository at this point in the history
…rmat

Dev: log: Set the log format for crmsh.log as rfc5424
  • Loading branch information
liangxin1300 authored Apr 16, 2024
2 parents 1b89f20 + 300dcbd commit 300e209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crmsh/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _open(self):
},
"file": {
"format": "%(asctime)s {} %(name)s: %(levelname)s: %(message)s".format(socket.gethostname()),
"datefmt": "%b %d %H:%M:%S",
"datefmt": "%Y-%m-%dT%H:%M:%S%z",
}
},
"filters": {
Expand Down

0 comments on commit 300e209

Please sign in to comment.