Merge lp:~ralsina/ubuntuone-windows-installer/fix_800346 into lp:ubuntuone-windows-installer

Proposed by Roberto Alsina
Status: Merged
Approved by: dobey
Approved revision: 4
Merged at revision: 4
Proposed branch: lp:~ralsina/ubuntuone-windows-installer/fix_800346
Merge into: lp:ubuntuone-windows-installer
Diff against target: 21 lines (+2/-2)
1 file modified
ubuntuone_installer/logger.py (+2/-2)
To merge this branch: bzr merge lp:~ralsina/ubuntuone-windows-installer/fix_800346
Reviewer Review Type Date Requested Status
Alejandro J. Cura (community) Approve
dobey (community) Approve
Review via email: mp+65397@code.launchpad.net

Commit message

Remove control panel references from the logger module

Description of the change

Remove control panel references from the logger module

To post a comment you must log in.
Revision history for this message
dobey (dobey) :
review: Approve
Revision history for this message
Alejandro J. Cura (alecu) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntuone_installer/logger.py'
2--- ubuntuone_installer/logger.py 2011-06-21 15:41:55 +0000
3+++ ubuntuone_installer/logger.py 2011-06-21 19:31:27 +0000
4@@ -35,7 +35,7 @@
5 # Only log this level and above
6 LOG_LEVEL = logging.DEBUG # before final release, switch to INFO
7
8-MAIN_HANDLER = RotatingFileHandler(os.path.join(LOGFOLDER, 'controlpanel.log'),
9+MAIN_HANDLER = RotatingFileHandler(os.path.join(LOGFOLDER, 'installer.log'),
10 maxBytes=1048576,
11 backupCount=LOGBACKUP)
12 MAIN_HANDLER.setFormatter(basic_formatter)
13@@ -48,7 +48,7 @@
14 Final domain will be 'ubuntuone.controlpanel.<log_domain>.
15
16 """
17- logger = logging.getLogger('ubuntuone.controlpanel.%s' % log_domain)
18+ logger = logging.getLogger('ubuntuone.installer.%s' % log_domain)
19 logger.setLevel(LOG_LEVEL)
20 logger.addHandler(MAIN_HANDLER)
21 if os.environ.get('DEBUG'):

Subscribers

People subscribed via source and target branches