mirror of
https://github.com/Luzifer/mqtt2influx.git
synced 2024-12-20 09:31:23 +00:00
Fix messed up time-format
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b265cf072e
commit
d10d16819f
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -102,7 +102,7 @@ if __name__ == '__main__':
|
|||
configpath = os.environ['CONFIG_PATH']
|
||||
|
||||
logging.basicConfig(
|
||||
datefmt='%m/%d/%Y %I:%M:%S %p',
|
||||
datefmt='%Y-%m-%d %H:%M:%S',
|
||||
format='[%(asctime)s][%(levelname)s] %(message)s',
|
||||
level=loglevel,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue