Bug 379761

Summary: add nxserver logrotate file
Product: [Fedora] Fedora Reporter: Helge Deller <helge.deller>
Component: freenxAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: gwync, linux
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.1-2.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-07 21:31:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.