Uses two different data directories.
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
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.