~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to ubuntu/sso/logger.py

  • Committer: natalia.bidart at canonical
  • Date: 2010-06-09 18:23:27 UTC
  • mfrom: (533.1.4 rename)
  • Revision ID: natalia.bidart@canonical.com-20100609182327-kmd0rjjb1f0eojhu
Renaming modules and Dbus service to make them more generic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# ubuntuone.oauthdesktop.logger - logging miscellany
 
1
# ubuntu.sso.logger - logging miscellany
2
2
#
3
3
# Author: Stuart Langridge <stuart.langridge@canonical.com>
4
4
#
23
23
from logging.handlers import RotatingFileHandler
24
24
 
25
25
home = xdg.BaseDirectory.xdg_cache_home
26
 
LOGFOLDER = os.path.join(home, 'ubuntuone', 'log')
 
26
LOGFOLDER = os.path.join(home, 'sso')
27
27
# create log folder if it doesn't exists
28
28
if not os.path.exists(LOGFOLDER):
29
29
    os.makedirs(LOGFOLDER)