[Ace-users] Can I make use of start-stop-daemon on Linux withACE tp_reactor_logging_server?
haoniukun at gmail.com
Wed Nov 21 19:13:09 CST 2007
On 11月22日, 上午2时55分, "Andre Kostur" <akos... at incognito.com> wrote:
> 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 ...)
> -----Original Message-----
> From: ace-users-boun... at cse.wustl.edu
> [mailto:ace-users-boun... at cse.wustl.edu] On Behalf Of Douglas C. Schmidt
> Sent: Wednesday, November 21, 2007 10:47 AM
> To: haoniu... at gmail.com; ace-us... at cse.wustl.edu
> Subject: Re: [ace-users] Can I make use of start-stop-daemon on Linux
> withACE tp_reactor_logging_server?
> >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!- 隐藏被引用文字 -
> - 显示引用的文字 -
Thank you for your suggestion.
I finally find the log file under "/" directory.
More information about the Ace-users