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
=== modified file 'ubuntuone_installer/logger.py'
--- ubuntuone_installer/logger.py 2011-06-21 15:41:55 +0000
+++ ubuntuone_installer/logger.py 2011-06-21 19:31:27 +0000
@@ -35,7 +35,7 @@
35 # Only log this level and above35 # Only log this level and above
36 LOG_LEVEL = logging.DEBUG # before final release, switch to INFO36 LOG_LEVEL = logging.DEBUG # before final release, switch to INFO
3737
38MAIN_HANDLER = RotatingFileHandler(os.path.join(LOGFOLDER, 'controlpanel.log'),38MAIN_HANDLER = RotatingFileHandler(os.path.join(LOGFOLDER, 'installer.log'),
39 maxBytes=1048576,39 maxBytes=1048576,
40 backupCount=LOGBACKUP)40 backupCount=LOGBACKUP)
41MAIN_HANDLER.setFormatter(basic_formatter)41MAIN_HANDLER.setFormatter(basic_formatter)
@@ -48,7 +48,7 @@
48 Final domain will be 'ubuntuone.controlpanel.<log_domain>.48 Final domain will be 'ubuntuone.controlpanel.<log_domain>.
4949
50 """50 """
51 logger = logging.getLogger('ubuntuone.controlpanel.%s' % log_domain)51 logger = logging.getLogger('ubuntuone.installer.%s' % log_domain)
52 logger.setLevel(LOG_LEVEL)52 logger.setLevel(LOG_LEVEL)
53 logger.addHandler(MAIN_HANDLER)53 logger.addHandler(MAIN_HANDLER)
54 if os.environ.get('DEBUG'):54 if os.environ.get('DEBUG'):

Subscribers

People subscribed via source and target branches