Ticket #1038 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

sugar-base: logger.py: allow numeric values for SUGAR_LOGGER_LEVEL

Reported by: sascha_silbe Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: 0.86
Component: sugar Version: Git as of bugdate
Severity: Unspecified Keywords: r+
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

The new datastore prototype uses a new log level for tracing function parameters / return values as it clutters the logs a lot. In order to activate this new log level logger.py needs to either list the new level or allow numeric values to be used. As the latter is more generic I've implemented it.

Attachments

sugar-base-logger-numeric.patch Download (1.0 KB) - added by sascha_silbe 4 years ago.
allow numeric values for SUGAR_LOGGER_LEVEL

Change History

Changed 4 years ago by sascha_silbe

  • keywords r? added

Changed 4 years ago by sascha_silbe

allow numeric values for SUGAR_LOGGER_LEVEL

Changed 4 years ago by tomeu

  • keywords r+ added; r? removed

Changed 4 years ago by tomeu

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.