Is it possible with logrotate to take the content of a log and add it to an existing file?
Like so:
1. Put the content of /var/log/vnc.log after the content of /archive/logs/vnc.log
2. Truncate /var/log/vnc.log
In bash it would go like:
1. cat /var/log/vnc.log >> /archive/logs/vnc.log
2. echo > /var/log/vnc.log
I think it's not possible. What would be a logic way then? The above commands in a cronjob? Or is this setup too dirty?