#93 ✓resolved
Jon Ramsey

Daemonization truncates existing log file

Reported by Jon Ramsey | April 13th, 2010 @ 08:28 AM | in 0.8.4

Any existing logfile is truncated when adhearsion is started as a daemon:

$ sudo cat /path/shared/log/adhearsion.log
Log I don't want to lose...
$ sudo ahn start daemon /path/current --pid-file=/path/shared/pids/adhearsion.pid
$ sudo cat /path/shared/log/adhearsion.log
INFO ahn: Adhearsion initialized!

(Note the missing INFO ahn: Daemonizing now!... line)

http://github.com/leinster/adhearsion/commit/78f0273830e342ffd16986... fixes it for me.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket