Skip to content

Commit

Permalink
fix: set log options with basicConfig()
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed May 12, 2024
1 parent 79eb905 commit c32a958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gvm_sync_targets/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def gvm_sync_targets(
username: str, password: str, debug: bool, hosts_file: TextIO
) -> None:
if debug:
logging.getLogger().setLevel("DEBUG")
logging.basicConfig(level="DEBUG", force=True)

with Gmp(
DebugConnection(UnixSocketConnection()),
Expand Down

0 comments on commit c32a958

Please sign in to comment.