gustavo-iniguez-goya / opensnitch

OpenSnitch is a GNU/Linux application firewall
GNU General Public License v3.0
397 stars 20 forks source link

daemon logs are not shown on console with -debug #82

Closed themighty1 closed 4 years ago

themighty1 commented 4 years ago

Running on latest master with -debug, I don't see the information about netlink/processes being found like it used to show. My last log line on the console is DBG Worker #10 started and it stays like this.

gustavo-iniguez-goya commented 4 years ago

Yes, latest change to move server (i.e. GUI) address from the.service file to the config file has broken the logs to the standard output.

I'll fix it today or tomorrow.

themighty1 commented 4 years ago

Thanks, but after git pull make -B sudo make install sudo daemon/opensnitchd -rules-path /etc/opensnitchd/rules/ -debug

I still only see DBG Worker #14 started. and no more log activity

gustavo-iniguez-goya commented 4 years ago

mm, I'll review it, but I'm afraid that the goroutine to load the configuration from the disk is taking more time than in my system, so it's overwriting the command line parameter.

change in the default-config.json the items LogFile to "/dev/stdout" and LogLevel: 0

themighty1 commented 4 years ago

nice, changing default-config.json worked without having to restart the daemon. Thank you for adding such flexibility.