mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] use more classical datetime format for logs
This commit is contained in:
parent
6cb179703e
commit
19a29d9b34
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class Journal(object):
|
|||
self._do_first_write()
|
||||
self.first_write = False
|
||||
|
||||
self.fd.write("%s: " % datetime.now().strftime("%F_%X").replace(":", "-"))
|
||||
self.fd.write("%s: " % datetime.now().strftime("%F %X"))
|
||||
self.fd.write(line.rstrip())
|
||||
self.fd.write("\n")
|
||||
self.fd.flush()
|
||||
|
|
Loading…
Add table
Reference in a new issue