Skip to content

Commit 9ebdc3a

Browse files
committed
Prepend timestamp to fireci logs.
1 parent 4ec2725 commit 9ebdc3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/fireci/fireci/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
from . import plugins
1919
from .internal import main
2020

21+
2122
logging.basicConfig(
22-
format='%(name)s: [%(levelname)s] %(message)s',
23+
datefmt='%Y-%m-%d %H:%M:%S %z %Z',
24+
format='[%(levelname).1s] %(asctime)s %(name)s: %(message)s',
2325
level=logging.INFO,
2426
)
2527
logging.getLogger('fireci').setLevel(logging.DEBUG)

0 commit comments

Comments
 (0)