Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
themighty1 opened this issue Oct 29, 2020 · 4 comments
Closed

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

themighty1 opened this issue Oct 29, 2020 · 4 comments

Comments

@themighty1
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants