Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Tag: syslog
How to keep service script output from clogging up “messages”
I have a service on Centos7 that runs a script in /usr/local/sbin/restarthelp2.sh and outputs a tunnel check by checking the status of network connection. The output of this ends up in /var/log/messages and makes the file huge. I already have the output being sent to its own log file, how do I keep the output results from the script/service out
How to remove/modify syslogd message’s header?
I’m currently use the syslogd of busybox for logging some information. However, I’m unable to modify the message’s header. I log the message like this: And I got this output: I want to replace message’s header with epoch time format like this: Or is there any way to completely remove the message’s header so I could manually add the epoch
How to create high frequency logging (tracing) in Linux userspace?
I am starting a new user-space application and i want to create some common utilities for logging and tracing i distinguish between the 2 utilities. in my prespective logging should be something that is always on and used for high level information and debug. Where as tracing is much more detailed and more frequent. i think syslog is a good