FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 04-09-2012, 06:10 PM
Florian La Roche
 
Default logfile rotation for kojid builder

Hello,

the default "kojid" builder is using /var/log/kojid.log
for file logging via:
handler = logging.handlers.RotatingFileHandler(fn, maxBytes=1024*1024*10, backupCount=5)

This does not seem to work if kojid forks and rotation happens within
the forked processes and then the main process is still using the old
kojid.log file...
So rotation should probably move into the main kojid process.

Keeping to the old logfile can be easily seen in /proc/<pid kojid>/fd/.

best regards,

Florian La Roche

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 06:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org