diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-31 20:25:33 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-31 20:25:33 -0600 |
commit | 242a8183a7cc002f496421352e8346db4232648b (patch) | |
tree | 23f83463b766af467a631af5c6a8b54973ccf5d6 /ipalib/constants.py | |
parent | 5e5a83e4e84d2e9a5d6d987056199a8ed83978b8 (diff) | |
download | freeipa-242a8183a7cc002f496421352e8346db4232648b.tar.gz freeipa-242a8183a7cc002f496421352e8346db4232648b.tar.xz freeipa-242a8183a7cc002f496421352e8346db4232648b.zip |
Added custom log formatter util.LogFormatter that makes the human-readable time stamp in UTC
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index 7b0e1661..99b0ea71 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -45,8 +45,8 @@ LOG_FORMAT_STDERR_DEBUG = ' '.join([ # Tab-delimited log format for file (easy to opened in a spreadsheet): -LOG_FORMAT_FILE = ' '.join([ - '%(created)f', +LOG_FORMAT_FILE = '\t'.join([ + '%(asctime)s', '%(levelname)s', '%(message)r', # Using %r for repr() so message is a single line '%(lineno)d', |