~dpm/ubuntuone-client/plurals-fix

« back to all changes in this revision

Viewing changes to bin/ubuntuone-client-applet

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2009-10-08 13:40:19 UTC
  • mfrom: (239.3.3 oauth-log-fixes)
  • Revision ID: dobey@gnome.org-20091008134019-z6k5bi69oyxwdyna
Rotate the oauth log and cap at 1MB
Change a few logger.debug messages to logger.error
Clean up the usage of callback_error in the oauth process

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
from urllib import quote
46
46
 
47
47
from ubuntuone.oauthdesktop.logger import setupLogging
48
 
setupLogging()
49
 
import logging
50
 
logger = logging.getLogger("UbuntuOne.Client.Applet")
 
48
logger = setupLogging("UbuntuOne.Client.Applet")
51
49
 
52
50
DBusGMainLoop(set_as_default=True)
53
51
 
96
94
            login = Login(dbus.service.BusName(DBUS_IFACE_AUTH_NAME,
97
95
                                               bus=dbus.SessionBus()))
98
96
 
99
 
            logger.debug(_("Starting Ubuntu One client version %s") %
100
 
                         clientdefs.VERSION)
 
97
            logger.info(_("Starting Ubuntu One client version %s") %
 
98
                        clientdefs.VERSION)
101
99
 
102
100
            # Whether or not we are authorized
103
101
            self.is_authorized = False