Fix loggin startup problems

This commit is contained in:
Cyber MacGeddon 2025-07-30 23:37:07 +01:00
parent dd70aade11
commit fae5f5bfd6
2 changed files with 6 additions and 8 deletions

View file

@ -73,8 +73,7 @@ class PulsarClient:
parser.add_argument(
'-l', '--log-level',
type=LogLevel,
default=LogLevel.INFO,
choices=list(LogLevel),
help=f'Output queue (default: info)'
default='INFO',
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
help=f'Log level (default: INFO)'
)

View file

@ -147,10 +147,9 @@ def run():
parser.add_argument(
'-l', '--log-level',
type=LogLevel,
default=LogLevel.INFO,
choices=list(LogLevel),
help=f'Output queue (default: info)'
default='INFO',
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
help=f'Log level (default: INFO)'
)
parser.add_argument(