Hi,
How does the output of amuled work? When I run amuled without any options, I get the output (error messages and so on) in the console. I would like to write these messages to a separate logfile. But if I run
"amuled >/tmp/log_amuled 2>/tmp/log_amuled_err"
or
"amuled -o >/tmp/log_amuled 2>/tmp/log_amuled_err"
the logfiles are empty.
I ve also tried to run amuled as the (yes existing) amule user with su:
su -c "(/usr/local/amuled -o >/tmp/log_amuled 2>/tmp/log_amuled_err)" amule
The logfiles are still empty when using su, but only until amuled stops (?!?!?!), when amuled ist stopped, the whole output is written to the logfile at once.
If I use -f (fork) the file /home/amule/.aMule/logfile ist also empty.
Is this the right behaviour? Are there any other Options I could use?
Regards,
Kisja