¿ªÔÆÌåÓý

Re: Log directory option not working?


 

¿ªÔÆÌåÓý

I can't explain the -l/-L options.. you could redirect all output to a file with

direwolf > /var/log/radio/direwolf/direwolf.log 2>&1


I happened to use "tee" in my implementations,

direwolf -d t -p -q d -t 0 -c /run/direwolf.tnc.conf | tee /var/log/radio/direwolf/direwolf.log



did you try -L /path/to/logfile.log? ?? (upper case L)


-craig
KM6LYW

On 12/1/22 09:23, ksmolkowski@... wrote:

I am running direwolf with the -l option, but it's not writing the log files to where I specify, its still writing to stdout.? ?I don't have log file settings in the conf file and I tried putting a "/" at the end and not doing so with the same result.

radio@rmsgwpi:/var/log/radio/direwolf $ ps -ef | grep dire
radio? ? 31276 31275? 7 Nov23 pts/4? ? 13:50:21 direwolf -c /usr/local/radio/direwolf/direwolf.conf -l /var/log/radio/direwolf/ -d n -d v
?
I validated that the "radio" user can write to that location
radio@rmsgwpi:/var/log/radio/direwolf $ touch /var/log/radio/direwolf/xx
radio@rmsgwpi:/var/log/radio/direwolf $ ls -l /var/log/radio/direwolf/
total 0
-rw-r--r-- 1 radio radio 0 Dec? 1 09:18 xx


?

Join [email protected] to automatically receive all group messages.