Merge lp:~mandel/ubuntuone-client/correct-logger into lp:ubuntuone-client

Proposed by Manuel de la Peña
Status: Merged
Approved by: Roberto Alsina
Approved revision: 1298
Merged at revision: 1298
Proposed branch: lp:~mandel/ubuntuone-client/correct-logger
Merge into: lp:ubuntuone-client
Diff against target: 20 lines (+3/-2)
1 file modified
ubuntuone/platform/filesystem_notifications/monitor/__init__.py (+3/-2)
To merge this branch: bzr merge lp:~mandel/ubuntuone-client/correct-logger
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+121553@code.launchpad.net

Commit message

- Use the correct logger.

Description of the change

- Use the correct logger.

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntuone/platform/filesystem_notifications/monitor/__init__.py'
2--- ubuntuone/platform/filesystem_notifications/monitor/__init__.py 2012-08-27 22:31:02 +0000
3+++ ubuntuone/platform/filesystem_notifications/monitor/__init__.py 2012-08-28 08:09:19 +0000
4@@ -28,13 +28,14 @@
5 # files in the program, then also delete it here.
6 """Filesystem monitors per platform."""
7
8+import logging
9 import sys
10
11 from twisted.internet import defer
12
13-from ubuntuone.syncdaemon.logger import root_logger as logger
14-
15 DEFAULT_MONITOR = 'default'
16+logger = logging.getLogger('ubuntuone.SyncDaemon.platform.' +
17+ 'filesystem_notifications.monitor')
18
19
20 class NoAvailableMonitorError(Exception):

Subscribers

People subscribed via source and target branches