Skip to content

Commit 0fd1c27

Browse files
committed
Add CBI and Python version to debug output
Signed-off-by: John Pennycook <[email protected]>
1 parent 307f3b2 commit 0fd1c27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

codebasin/__main__.py

+3
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ def _main():
179179
file_handler.addFilter(aggregator)
180180
log.addHandler(file_handler)
181181

182+
if args.debug:
183+
log.debug(f"Code Base Investigator {version}; Python {sys.version}")
184+
182185
# Inform the user that a log file has been created.
183186
# 'print' instead of 'log' to ensure the message is visible in the output.
184187
log_path = os.path.abspath("cbi.log")

0 commit comments

Comments
 (0)