Log files - skip writing some unimportant (but frequent) strings
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a lot of unimportant similar (or even the same) reports in log files. I want to have my log files simple and transparent, so my idea is that some strings shouldn't be written in log files. An additional reason is to reduce writings to my SD card (Raspberry PI server).
I'm sure that I saw solution before, but I can't find it now.
Any idea what to do?
syslog
add a comment |Â
up vote
0
down vote
favorite
I have a lot of unimportant similar (or even the same) reports in log files. I want to have my log files simple and transparent, so my idea is that some strings shouldn't be written in log files. An additional reason is to reduce writings to my SD card (Raspberry PI server).
I'm sure that I saw solution before, but I can't find it now.
Any idea what to do?
syslog
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a lot of unimportant similar (or even the same) reports in log files. I want to have my log files simple and transparent, so my idea is that some strings shouldn't be written in log files. An additional reason is to reduce writings to my SD card (Raspberry PI server).
I'm sure that I saw solution before, but I can't find it now.
Any idea what to do?
syslog
I have a lot of unimportant similar (or even the same) reports in log files. I want to have my log files simple and transparent, so my idea is that some strings shouldn't be written in log files. An additional reason is to reduce writings to my SD card (Raspberry PI server).
I'm sure that I saw solution before, but I can't find it now.
Any idea what to do?
syslog
asked Mar 31 at 11:14
JanezKranjski
1011
1011
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00
add a comment |Â
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434650%2flog-files-skip-writing-some-unimportant-but-frequent-strings%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Which logging daemon do you use? Would you be willing to change it?
â Hauke Laging
Mar 31 at 11:36
I'm using Raspberry PI with Jessie (Debian).
â JanezKranjski
Mar 31 at 12:01
I have found in my backup how this was solved before: in /etc/rsyslog.conf was lines like ":msg, contains, "Router Advertisement" stop". And it worked. I have tried the same (with restarting service and computer), but the searched strings still show in /var/log/syslog. Any idea what is wrong?
â JanezKranjski
Apr 6 at 7:00