Bug 379761 - add nxserver logrotate file
Summary: add nxserver logrotate file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freenx
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 12:01 UTC by Helge Deller
Modified: 2007-12-07 21:31 UTC (History)
2 users (show)

Fixed In Version: 0.7.1-2.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-07 21:31:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Helge Deller 2007-11-13 12:01:58 UTC
It would be nice, if the nxserver log file (/var/log/nxserver.log) could be 
added to the logrotate functionality, since it grows by ~1.7MB per day in our 
usage.

We created the new file "/etc/logrotate.d/nx" with the following content:
/var/log/nxserver.log {
    rotate 4
    size=10M
    notifempty
    missingok
    sharedscripts
    copytruncate
}

After that, the log file is nicely rotated.

Could you please add this file (or a similiar one) to the freenx-0.7.0-2.fc7 
rpm package ?

Comment 1 Gwyn Ciesla 2007-11-19 13:53:29 UTC
New rawhide version has this.  Will work back down to 8, 7, 6, soon.

Comment 2 Helge Deller 2007-11-19 15:16:43 UTC
Hi Jon,
Thanks !
I think you can even reduce the sie to "size=4MB". Makes it easier and faster 
to read the files with "vi".
Regards, Helge

Comment 3 Gwyn Ciesla 2007-11-19 15:41:35 UTC
Oops, hadn't actually imported and built that change.  0.7.1-2 has this. :)

Comment 4 Fedora Update System 2007-12-07 21:31:05 UTC
freenx-0.7.1-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.