aMule Forum
English => Feature requests => Topic started by: vdb on October 09, 2005, 12:01:25 PM
-
Gentlemen,
I was hoping that in the latests CVS I would have the logging from the daemon when I run it in fully detached mode, but it appears that this is not yet flushed? Can somebody code that into on of the next releases please?
It would be much appreciated, since now the daemon doesn't show anything other then "credit file is loaded". And I have a problem connecting to KAD appearantly with the daemon, where the monolith works like a charm.
Thanks.
-
I was hoping the detached daemon would flush it's entries by now, but it seems the CVS 20051210 still does not do this. Could somebody please take a look at this before releasing the 2.1 version?
Thanks.
-
That's rather odd, since amuled does call the flush function for the log. The code is the same as in normal aMule. I'll look into it.
-
It's the detached form of the daemon which doesn't log anything, if you run the "regular" amuled everything is fine. Probably has to do with the output which the detachement does not have anymore?
-
The problem imho is that log is opened before amuled is forked. It seems that log output desc became messed up in the child process, and thus flush() calls have no effect.
No, it have nothing to do with detaching stdout from terminal (imho, again).
-
To add again to this thread, it seems that now something has been "fixed" in today's CVS (20051217), but it's not quite working yet: Now there are no entries in the logfile at all, not even the credit file loading line:
[me@mine .aMule]$ cat logfile
[me@mine .aMule]$
I really hope that this will be added before the 2.1 release, it would really top the detached daemon off to be used as a default service for Linux boxed.
-
Problem found, should work in the next snapshot.
EDIT: Till then, you can work-around the problem by using the "--enable-stdin" command-line argument.
-
It works, you guys are great!!!! :baby: