From: Schwimmer, E. E *H. <EE...@hs...> - 2007-06-15 19:29:48
|
I'll include this feature in the beta2 release of 0.3.0, which should be out next Monday. -Eric -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Asif Iqbal Sent: Tuesday, June 05, 2007 12:28 PM To: dev...@li... Subject: [Devmon] Feature/Change request Hi Eric, Is it possible to turn off sending logs to logfile and show all logs in standardout while running in foreground? I use `daemontools' to manage all my apps and w/ current devmon (0.3.x) I got two copies of the logs.=20 One in logfile and one in foreground which is then managed by multilog. I have it setup like this. cat /service/devmon/run #! /bin/sh exec 2>&1 exec setuidgid devmon /usr/local/devmon/devmon -v -f=20 cat /service/devmon/log/run #! /bin/sh exec setuidgid devmon multilog t /var/log/devmon As you can see I get logs in two places: (root)@hobbit:/var/log/devmon$ ls -al total 3 drwxr-xr-x 2 devmon other 512 Jun 5 12:13 .=20 drwxr-xr-x 7 root sys 512 Jun 5 12:20 .. -rw-r--r-- 1 devmon other 290 Jun 5 12:13 current -rw------- 1 devmon other 0 Jun 5 12:13 lock -rw-r--r-- 1 devmon other 0 Jun 5 12:13 state=20 (root)@hobbit:~$ ls -al /var/log/devmon.log -rw-r--r-- 1 devmon other 1146 Jun 5 12:27 /var/log/devmon.log Thanks --=20 Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu <http://pgp.mit.edu>=20 |