-
Notifications
You must be signed in to change notification settings - Fork 4
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
overly verbose logging #55
Comments
(wouldn't mind stopping all the apparmor spam while we're at it: Sep 2 18:44:41 localhost kernel: [ 629.629231] audit: type=1400 audit(1662144281.899:145): apparmor="DENIED" operation="mknod" profile="snap.adsb-box.rbfeeder" name="/var/log/rbfeeder.log" pid=1711 comm="rbfeeder" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 |
The logs in the 1st comment are because some of connections are not ready. I'm adding additional controls to disable this kind of logs. Meanwhile, you can check if the snap connections are properly connected like these:
If not, you can use For the logs in the 2nd comment, I will also fix it in the coming release. |
While troubleshooting a crash issue on a pi3b+, I noticed that adsb-box is logging verbosely -- poked around for a while, couldn't figure out how to stop it.
Example:
Sep 2 18:43:24 localhost adsb-box.collectd[898]: + snapctl is-connected system-observe
Sep 2 18:43:24 localhost adsb-box.collectd[898]: + '[' 0 -eq 1 ']'
Sep 2 18:43:24 localhost adsb-box.collectd[898]: + for plug in $PLUGS
Sep 2 18:43:24 localhost adsb-box.collectd[898]: + snapctl is-connected network-observe
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + '[' 0 -eq 1 ']'
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + for plug in $PLUGS
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + snapctl is-connected mount-observe
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + WAIT=1
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + '[' 1 -eq 1 ']'
Sep 2 18:43:25 localhost adsb-box.collectd[898]: + sleep 10
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + break
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + '[' 1 -eq 0 ']'
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + true
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + WAIT=0
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + for plug in $PLUGS
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + snapctl is-connected system-observe
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + '[' 0 -eq 1 ']'
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + for plug in $PLUGS
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + snapctl is-connected network-observe
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + '[' 0 -eq 1 ']'
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + for plug in $PLUGS
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + snapctl is-connected mount-observe
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + WAIT=1
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + '[' 1 -eq 1 ']'
Sep 2 18:43:27 localhost adsb-box.piaware[922]: + sleep 10
How do I shut that off?
The text was updated successfully, but these errors were encountered: