Skip to content

Commit 7309e80

Browse files
authored
Merge pull request #8 from RedTanny/log_config
update logger
2 parents 92b48f9 + 69bdd2b commit 7309e80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vulnerability_main_automation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@
2525
# Configure logging (will be updated by Configuration)
2626
logging.basicConfig(
2727
level=logging.DEBUG,
28-
format='%(asctime)s - %(levelname)s - %(message)s'
28+
format='%(asctime)s - %(levelname)s - threadName=%(threadName)s - source_file= %(name)s - %(message)s'
2929
)
3030
logger = logging.getLogger(__name__)
3131

32-
3332
def create_argument_parser() -> argparse.ArgumentParser:
3433
"""
3534
Create and configure argument parser.

0 commit comments

Comments
 (0)