Skip to content

Commit 50a3053

Browse files
committed
cli: Configure a sensible logging format
Change-Id: I4f04d1a52d7b7c81b3bffe66368aba54f78a9679
1 parent a49e720 commit 50a3053

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

majavahbot/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ def cli_task(task_id: str, run: bool, manual: bool, config: bool, param=""):
6060

6161

6262
def main():
63-
logging.basicConfig(level=logging.INFO)
63+
logging.basicConfig(
64+
level=logging.INFO,
65+
format="%(asctime)s %(name)-32s %(levelname)-5s: %(message)s",
66+
)
6467

6568
toolforge.set_user_agent("majavah-bot")
6669

0 commit comments

Comments
 (0)