mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Fix loggin startup problems
This commit is contained in:
parent
dd70aade11
commit
fae5f5bfd6
2 changed files with 6 additions and 8 deletions
|
|
@ -73,8 +73,7 @@ class PulsarClient:
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-l', '--log-level',
|
'-l', '--log-level',
|
||||||
type=LogLevel,
|
default='INFO',
|
||||||
default=LogLevel.INFO,
|
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
|
||||||
choices=list(LogLevel),
|
help=f'Log level (default: INFO)'
|
||||||
help=f'Output queue (default: info)'
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -147,10 +147,9 @@ def run():
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-l', '--log-level',
|
'-l', '--log-level',
|
||||||
type=LogLevel,
|
default='INFO',
|
||||||
default=LogLevel.INFO,
|
choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
|
||||||
choices=list(LogLevel),
|
help=f'Log level (default: INFO)'
|
||||||
help=f'Output queue (default: info)'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue