[Bug 36265] New: Uses two different data directories.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 15 18:36:44 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36265

           Summary: Uses two different data directories.
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Today I looked for my Telepathy logs. So I typed `ls
~/.local/sh<tab>/tele<tab>` in my shell, and it was completed to
~/.local/share/telepathy-logger. However, that directory only contains a single
file, namely favourite-contacts.txt. The actual logs are stored in
~/.local/share/TpLogger.

(I notice that *neither* directory name is consistent with the cache directory,
which is named ~/.cache/telepathy/logger…)

There should not be two differently-named directories for the same component.
The ‘TpLogger’ directory name is ugly; so I propose that the ‘telepathy-logger’
name be chosen as the canonical name.

There are roughly two approaches to dealing with existing logs in the TpLogger
directory: moving them, or reading them in place.

I think it would be tidiest to move all the logs from ~/.local/share/TpLogger
to ~/.local/share/telepathy-logger. This obviously breaks downgrading to an
older version of the logger; I'm not sure how big a concern that really is in
practice. (It's not a data loss issue.) The logger could also move logs from
~/.local/share/Empathy/logs at the same time.

Alternatively, new logs could be written to the ‘telepathy-logger’ directory,
but old logs could continue to be read from the TpLogger directory. Since the
logger already supports reading logs from ~/.local/share/Empathy/logs, this
should be feasible. OCD power-users like myself could manually consolidate
their logs.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list