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

Entry in syslog every 1 sec? #5

Open
jbrepogmailcom opened this issue Apr 15, 2024 · 1 comment
Open

Entry in syslog every 1 sec? #5

jbrepogmailcom opened this issue Apr 15, 2024 · 1 comment

Comments

@jbrepogmailcom
Copy link

Hello. My syslog is cluttered by these entries every second. Is it possible to get rid off it?

dub 15 12:06:48 Tablet4 duckpowered.actual-service[

@Jakesta13
Copy link

Jakesta13 commented Apr 28, 2024

I made an override edit to the service and it seems to have silenced the output.
Be careful using Sudo!

  • sudo systemctl edit snap.duckpowered.actual-service.service
  • Then add the following lines after first 2 comments:
    [Service]
    StandardOutput=null
  • run sudo systemctl restart snap.duckpowered.actual-service.service
  • Then I ran sudo systemctl daemon-reload for good measure.

I also added this to the rsyslog.config file, not sure if it actually works but just in case:
Be careful using Sudo!

  • sudo nano /etc/rsyslog.conf
  • add the following (i placed at the bottom of the file):
    if $programname contains 'duckpowered' then stop
  • run sudo systemctl restart syslog.socket rsyslog.service
  • then I ran sudo systemctl daemon-reload
    the last command might not be needed, but I kept methodical while trying to silence this log spam

Also note there might be a better way to go about it, I personally was throwing stuff at the wall until it stuck.
For context I'm using a CM4 in a uConsole/Clockwork build (actually, writing this comment with it)

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