[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Rotate log problem
On Thu, 23 Mar 2006, leandro noferini wrote:
> I found a trouble rotating log for the tor server tortuga: log will be
> rotated using the program savelog in a cron job (on GNU/Linux). When the
> job ends I find the logs empty and I need to restart the server to have
> something in the logs.
> Is there another way to resolve this?
Send the Tor processes a HUP signal after rotating the files. Receiving
a HUP will - among other things - reopen the log files. That's quite
common unix daemon behaviour.
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/