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
-
Ben Klang June 15th, 2010 @ 09:19 AM
- State changed from new to hold
- Assigned user changed from Jay Phillips to Ben Klang
A patch to address this issue has been committed. We are waiting for the patch to be merged into the official Adhearsion repository.
-
Ben Klang June 22nd, 2010 @ 01:17 PM
- Milestone set to 0.8.4
-
Ben Klang June 22nd, 2010 @ 01:32 PM
- State changed from hold to resolved
Merged into the official repository.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป