projects
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d57de0
)
Minutes and months were reversed in Python logging timestamps
author
dbs
<dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 13:50:43 +0000
(13:50 +0000)
committer
dbs
<dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 13:50:43 +0000
(13:50 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2059
9efc2488
-bf62-4759-914b-
345cdb29e865
src/python/osrf/log.py
patch
|
blob
|
history
diff --git
a/src/python/osrf/log.py
b/src/python/osrf/log.py
index
906fd54
..
c27ee57
100644
(file)
--- a/
src/python/osrf/log.py
+++ b/
src/python/osrf/log.py
@@
-153,7
+153,7
@@
def __log_file(msg):
global LOG_TYPE
epoch = time.time()
- timestamp = time.strftime('%Y-%
M-%d %H:%m
:%S', time.localtime(epoch))
+ timestamp = time.strftime('%Y-%
m-%d %H:%M
:%S', time.localtime(epoch))
timestamp += '.%s' % str('%0.3f' % epoch)[-3:] # grab the millis
logfile = None