Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#1038 closed enhancement (fixed)

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

Reported by: sascha_silbe Owned by: tomeu
Priority: Unspecified by Maintainer Milestone:
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 (1)

sugar-base-logger-numeric.patch (1004 bytes) - added by sascha_silbe 12 years ago.
allow numeric values for SUGAR_LOGGER_LEVEL

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by sascha_silbe

  • Keywords r? added

Changed 12 years ago by sascha_silbe

allow numeric values for SUGAR_LOGGER_LEVEL

comment:2 Changed 12 years ago by tomeu

  • Keywords r+ added; r? removed

comment:3 Changed 12 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 8 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.