[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990806: No log rotation for xrdp



Package: xrdp
Version: 0.9.12

Log files from xrdp do not rotate, but grow continuously. 

Please consider adding a logrotate file (i.e. /etc/logrotate.d/xrdp) to the xrdp package. Here is the config I would suggest:

/var/log/xrdp*.log {
    compress
    missingok
    notifempty
    copytruncate
}

Or the following if it is preferable to define the rotation schedule explicitly rather than inherit from /etc/logrotate.conf:

/var/log/xrdp*.log {
    rotate 4
    weekly
    compress
    missingok
    notifempty
    copytruncate
}

Evan Linde
Research Cyberinfrastructure Analyst
Oklahoma State University
High Performance Computing Center
405-744-1455
http://hpcc.okstate.edu/



Reply to: