oauthdesktop/logger.py should have configurable log level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Confirmed
|
Undecided
|
Ubuntu One Client Engineering team | ||
ubuntuone-client (Ubuntu) |
Confirmed
|
Undecided
|
Ubuntu One Client Engineering team |
Bug Description
Binary package hint: ubuntuone-client
Currently log_level is set to INFO in oauthdesktop/
LOGFILENAME = os.path.
# Only log this level and above
LOG_LEVEL = logging.INFO
root_formatter = logging.Formatter(
fmt=
root_handler = RotatingFileHan
root_handler.
This makes it rather hard to debug oauthdesktop-
oauth.conf should be created and read by oauthdesktop that will contain at least
[__main__]
log_level = DEBUG
Additionally the code in logger.py should actually use the root_formatter defined. It looks like this statement got removed in some build.
description: | updated |
Changed in ubuntuone-client (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in ubuntuone-client: | |
status: | New → Confirmed |
Changed in ubuntuone-client (Ubuntu): | |
importance: | Low → Undecided |
Changed in ubuntuone-client: | |
assignee: | nobody → Ubuntu One Desktop+ team (uone-desktop) |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | nobody → Ubuntu One Desktop+ team (uone-desktop) |
tags: | added: desktop+ |