GNOME Bugzilla – Bug 604708
Sametime account does not log chat transcripts properly
Last modified: 2018-05-22 13:54:50 UTC
Create a sametime account, log on and send some messages to other contacts. Log files (chat transcripts) are created using the contact identifier which can be something like CN=John Smith, O=OrgName. Chats sent to John Smith are logged under ~/.local/share/Empathy/logs/<acct>/CN=John Smith/O=OrgName The Empathy UI for previous transcripts only seems to look in the directory associated with the user e.g. CN=John Smith, so only looks for log files in ~/.local/share/Empathy/logs/<acct>/CN=John Smith, and the previous conversations tab is always empty. Copying the log files from ~/.local/share/Empathy/logs/<acct>/CN=John Smith/O=OrgName to ~/.local/share/Empathy/logs/<acct>/CN=John Smith means they magically then appear in the UI.
I have the same bug using Empathy 2.28.1.1 The logs for my contacts are kept in: ~/.local/share/Empathy/logs/[account]/CN=User Name/OU=[OU name]/OU=[OU name 2]/O=[O name]/YYYYMM/*.log YYYYMM = year + month of log file
An edit to the previous comment, should be: The logs for my contacts are kept in: ~/.local/share/Empathy/logs/[account]/CN=User Name/OU=[OU name]/OU=[OU name 2]/O=[O name]/YYYYMMDD.log There is not a directory beneath the organization name.
I have no idea how sametimes works but do you know why the contact idenitifier is changed?
Hi, the contact id is related to the ldap structure which actually stores the person record. For me, it's O=ORG_NAME, CN=NAME but as you can see from the posting above it could be a number of levels. Groups as follows : O=Organisation OU=Organisational Unit CN=Common Name Ivan could you confirm the Identifier tag on your setup reflects this ? - on my setup the Identifier is the path that should be used relative to the ~/.local/share/Empathy/logs/<acct>/ directory - I see the Identifier by right clicking on a sametime contact and "information".
My grouping is as follows: Identifier: CN=[Common Name]/OU=[Org Unit]/OU=[Org Unit]/O=[Org] So it seems fairly arbitrary depending on the organization.
Ok, so that confirms that the Identifier can provide the folder structure for searching for log files I guess. Let me know if you need more info, but as Ivan says the ldap structure could be any structural organisation and consist of many levels depending on how your data is set up in ldap.
Reopening as I think the requested information has been provided.
Also, this bug is still plaguing Empathy when using SameTime.
I've the same problem (2.30.1.1) If you are still interested of the Sametime Identifier Syntax: Syntax User database via notes.nsf (Sametime on Domino): CN=user name/O=organisation Syntax User database via ldap: O=organisation, CN=name So the Identifier depends of user management of sametime server.
So, if the internal structur of the server's data are changed, the contacts are renamed and logs are "lost". Is that a fair descrption of this issue?
Currently with Empathy, as far as my system goes, I am unable to see any logs for anyone at any time. When clicking on Previous Conversations, I see a list of people in my left-hand pane, but clicking on any of them results in a blank window in the right pane.
Hi Ivan, you are right, You see in the list your bodies up to the fist "/". e.g. cn=tom jones (if the complete username is cn=tom jones/o=music). The logging function has a problem with a "/" in username. The logger create a user in the account this is a folder but the "/" will create a sub folder and the log file is placed in to the sub folder. So the history gui of empathy will not look in the sub folder. It looks for the log file direct under the user folder. If you copy the log file direct to the user folder (e.g. cn=tom jones) it will show up in the gui. I've written a small cronjob with copy all log file form sub folder to root dir of the user. Other good news: Ubuntu Mavarick fixed the problem. Guess emapthy version 2.32.x but not sure. This version replace all "/" with "_". In my example it means: cn=tom jones/o=music -> cn=tom jones_o=music So the logger will not create sub folder in user.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/158.