[Ace-users] [ace-users] Can I make use of start-stop-daemon on Linux withACE tp_reactor_logging_server?
akostur at incognito.com
Wed Nov 21 12:55:48 CST 2007
Start-stop-daemon is a Debian script for starting services.
Where is localhost.log supposed to be written? If it's to the current
working directory, note that start-stop-daemon may have changed the cwd
for your application. You might find your logfile in /. Otherwise, do
a find for your file to see if it's been dropped somewhere else (find /
-name localhost.log -print) (Or use updatedb and locate ...)
From: ace-users-bounces at cse.wustl.edu
[mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Douglas C. Schmidt
Sent: Wednesday, November 21, 2007 10:47 AM
To: haoniukun at gmail.com; ace-users at cse.wustl.edu
Subject: Re: [ace-users] Can I make use of start-stop-daemon on Linux
>Thank you for your fast reply.
>It's a bit strange to me that with the start-stop-daemon command the
>client can only input three lines of log.
>Then it'll exit.
>Now I've changed my start-stop-daemon command as the following:
>sudo /sbin/start-stop-daemon --start -b -m -p /var/run/tp.pid --exec ./
>tp_reactor_logging_server -c root -- 9700 localhost
>And now the client can connect and input as many log line as possible.
>But still, I can't find localhost.log anywhere.
>Do I have to redirect my log to somewhere else?
>By simply typing ./tp_reactor_logging_server 9700 localhost, I can see
>the log file.
>What should I do so that I can find my .log file with start-stop-
I have no idea what start-stop-daemon is, so I think you're on your
own with this one!
More information about the Ace-users