Hello
I have a bigish /var/log/kdm.log file (272M). As far as I understand this log file is created by KDE (login(display?) manager)?
Is it there by default and if so, shouldn't some kde package drop a file to /etc/logrotate.d/ to take care of the size of this log file? Should I go to bugzilla?
(yum whatprovides /etc/logrotate.d/kdm* returns nothing, and looking through results of yum whatprovides /etc/logrotate.d/* does not reveal a potential kdm.log cleaner)
P.S. f14, kde4.5.5.
Tomas Straupis wrote:
I have a bigish /var/log/kdm.log file (272M).
Weird. Mine is only 794 KiB.
At the top, it says: ******************************************************************************** Note that your system uses syslog. All of kdm's internally generated messages (i.e., not from libraries and external programs/scripts it uses) go to the daemon.* syslog facility; check your syslog configuration to find out to which file(s) it is logged. PAM logs messages related to authentication to authpriv.*. ********************************************************************************
So did you change your syslog setup?
Kevin Kofler
Hello
2011-02-27 Kevin Kofler wrote:
I have a bigish /var/log/kdm.log file (272M).
Weird. Mine is only 794 KiB.
While there is no timestamp for each line, contents say that first lines were created around June of 2009...
Chunks of information in kdm.log start with: "X.Org X Server 1.6.1.901..." And then go for ~100lines. Then it repeats on next reboot/relogin.
Later on I see enormous amount of lines (millions): "no rrb" After some time there are no more such huge amounts of "no rrb". So apparently there was some problem which was later fixed. But log file was never "cleaned" up automatically (by logrotate).
At the top, it says:
Note that your system uses syslog. All of kdm's internally generated messages (i.e., not from libraries and external programs/scripts it uses) go to the daemon.* syslog facility; check your syslog configuration to find out to which file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
So did you change your syslog setup?
Sorry, but I do not understand this... What should I be looking for and where? I do not remember specifically changing syslog configuration, but I could have forgotten something in two years...
The problem I'm raising is the lack of logrotation (unless there is some other procedure which should be cleaning up this kdm.log?).
Thank you
On 02/26/2011 02:12 PM, Tomas Straupis wrote:
Hello
I have a bigish /var/log/kdm.log file (272M). As far as I understand this log file is created by KDE (login(display?) manager)?
Is it there by default and if so, shouldn't some kde package drop a file to /etc/logrotate.d/ to take care of the size of this log file? Should I go to bugzilla?
(yum whatprovides /etc/logrotate.d/kdm* returns nothing, and looking through results of yum whatprovides /etc/logrotate.d/* does not reveal a potential kdm.log cleaner)
Many moons ago (f8 at least), we did have a logrotate script for it. I'll have to dig what happened (omitted purposely? by accident?)
-- Rex
On Mon, 7 Mar 2011, Tomas Straupis wrote:
2011-02-28 Rex Dieter:
Many moons ago (f8 at least), we did have a logrotate script for it. I'll have to dig what happened (omitted purposely? by accident?)
Any news? Should I log a bz for this or should I forget it?
bz would probably be best, so tracking and so we don't forget about it.
-- Rex
2011-03-07 Rex Dieter:
bz would probably be best, so tracking and so we don't forget about it.
https://bugzilla.redhat.com/show_bug.cgi?id=682761
P.S. I could attach a file I added to /etc/logrotate.d/ to fix this but I guess it is trivial so I will skip that...