Is it possible to trim a log file a daemon has open without the daemon closing the file?
- by arturh
I have a daemon writing to a log file that, eventually, fills up the disk. Is there a way for me to periodically limit the size of the log file without stopping the daemon without changing the code in it? SIGHUP kills the daemon.