~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-missing

« back to all changes in this revision

Viewing changes to _zeitgeist/engine/__init__.py

  • Committer: Siegfried-Angel Gevatter Pujals
  • Author(s): Mohamed Amine IL Idrissi
  • Date: 2010-12-04 17:49:33 UTC
  • mfrom: (1622.2.9 zeitgeist-logging)
  • Revision ID: rainct@ubuntu.com-20101204174933-qreqwvs44rgkwf2a
Implement logging to a file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                BaseDirectory.save_data_path("zeitgeist"))
49
49
        DATABASE_FILE = os.environ.get("ZEITGEIST_DATABASE_PATH",
50
50
                os.path.join(DATA_PATH, "activity.sqlite"))
 
51
        DEFAULT_LOG_PATH = os.path.join(BaseDirectory.xdg_cache_home,
 
52
                "zeitgeist", "daemon.log")
51
53
        
52
54
        # D-Bus
53
55
        DBUS_INTERFACE = ZeitgeistDBusInterface.INTERFACE_NAME