[Fixed] The --log/-L didn't enabled full debug for all messages
- Only GS.debug_level changed, but not the internal log.debug_level
This commit is contained in:
parent
c129c597ef
commit
e6a8677cef
|
|
@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Fixed
|
||||
- Rotated polygons and text used in the worksheet (#466)
|
||||
- The --log/-L didn't enabled full debug for all messages
|
||||
- BoM:
|
||||
- Problems when trying to aggregate the datasheet field (#472)
|
||||
- kibot-check:
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ def main():
|
|||
else:
|
||||
os.makedirs(os.path.dirname(os.path.abspath(args.log)), exist_ok=True)
|
||||
log.set_file_log(args.log)
|
||||
GS.debug_level = 10
|
||||
log.debug_level = GS.debug_level = 10
|
||||
# The log setup finished, this is our first log message
|
||||
logger.debug('KiBot {} verbose level: {} started on {}'.format(__version__, args.verbose, datetime.now()))
|
||||
apply_warning_filter(args)
|
||||
|
|
|
|||
Loading…
Reference in New Issue