Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71883 - gnome-system-log will not handle metalog logfiles
Summary: gnome-system-log will not handle metalog logfiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 13:34 UTC by Lindsay Haisley
Modified: 2004-12-08 09:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lindsay Haisley 2004-11-20 13:34:39 UTC
The gnome-system-log log-viewing utility does not recognise logfiles generated with metalog and declares that such a file is "not a log".  There's no indication in the help doc that gnome-system-log depends on syslog format log files, although the man page for the tool pretty much seems to assume that everyone is using syslog.  The Gnome developers need to be aware that not everyone uses syslog or it's workalike logger descendants.  Either the help doc and the man page should be updated to clearly indicate that log file formats other than those generated with syslog won't work with the tool, or gnome-utils should depend on syslog-ng in Gentoo, or best of all, gnome-system-log should be enhanced to work with alternative log file formats.
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-12-07 22:57:39 UTC
I don't run metalog, but anybody I have asked says gnome-system-log can its logs fine. Perhaps you were running the program as a user who didn't have permissions to read the logs. Did you try reading more then one log? Can you try running as a user with the correct permissions? Unless somebody can provide a logfile generated by metalog that isn't readable by gnome-system-log, there isn't much I can do here.
Comment 2 Lindsay Haisley 2004-12-08 09:18:05 UTC
I did a deep re-emerge last night of about 80 odd packages (including substantial parts of gnome) after updating my USE list and it looks as if the problem is now resolved.  I should note, however, that the message I was getting was "not a log", whereas if there's a permissions error, the message is "could not be opened".  I believe I took permissions into account when I did my tests and posted here, although it's been a while.  I was, at that time, able to open and parse a /var/log/messages file from another box which uses syslogd, and I note that the permissions on that file were read-restricted to root:root, so I believe I tested it as root before filing this bug.  Anyway, thanks for responding on this.  It looks like all is well.