Rotate log problem
Peter Palfrader
peter at palfrader.org
Thu Mar 23 16:24:02 UTC 2006
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/
More information about the tor-talk
mailing list