Closed kchason closed 5 months ago
Addresses https://github.com/dod-cyber-crime-center/sqlite-dissect/issues/37 by adding logging handlers even when the log_level is set to "off" and properly sets the basicConfig.level to None if disabled.
log_level
"off"
basicConfig.level
None
Steps to reproduce the initial issue with the existing repository:
# Setup SQLite Dissect python setup.py install # Delete the journal file so it doesn't conflict with the WAL file rm sqlite_dissect/tests/test_files/chinook.sqlite-journal # Create a temporary output directory mkdir output # Run SQLite Dissect sqlite_dissect sqlite_dissect/tests/test_files/chinook.sqlite -e sqlite -d output --carve
Addresses https://github.com/dod-cyber-crime-center/sqlite-dissect/issues/37 by adding logging handlers even when the
log_level
is set to"off"
and properly sets thebasicConfig.level
toNone
if disabled.Steps to reproduce the initial issue with the existing repository: