Questions tagged [syslog]

Syslog is a standard for logging program messages.

Syslog is a standard for logging program messages.Wikipedia

1162 questions
6
votes
3 answers

Logback SyslogAppender stacktrace logging prefix

We have recently switched from Log4J to Logback. Logging seems to work well except stack traces in SyslogAppender. They are prefixed just like remaining log messages. Is there any way how to disable this prefix and ensure they will be printed just…
Jiří Šitina
  • 306
  • 4
  • 10
6
votes
1 answer

Python App ouput to syslog server

I'm trying to do some searching on google (looped for every 5 min or so). When it gets a hit I want it to push the results to a syslog server. I'm very new to python so please forgive the ignorance, I have searched for ages and can't find an answer…
H20
  • 115
  • 1
  • 2
  • 6
6
votes
3 answers

What are the advantages of using syslog over other logging facilites?

We are using a basic python log server based on BaseHTTPServer to aggregate our python logs on an ubunutu server. This solution has fulfilled our needs... until now. The number of programs dumping to this log server has grown and now the logger is…
sbartell
  • 883
  • 1
  • 7
  • 18
6
votes
2 answers

Howto: Using syslog for user created shell script

Information abound about syslog, but I can't find anything very concise for my interest. I have a user-created bash script that should log various debug, info, and error messages. I'd like to use syslog. This in Ubuntu Server distribution. I'm…
David Parks
  • 30,789
  • 47
  • 185
  • 328
6
votes
0 answers

Using Flume to ingest real-time log data from remote server (which does not have Flume) on same network

I have server X that has Hadoop and Flume installed, and I have server Y that has neither but is on the same network. Server Y currently stores data into a log file that is continuously written two until a date stamp is appended at the end of the…
ewong18
  • 144
  • 1
  • 2
  • 10
6
votes
1 answer

rsyslog not filtering messages into separate log file

Somehow I can't get this working and I need some help. I try to filter logs from syslog, written by a systemd service, into a separate log file. Currently I'm using Debian. Here is my rsyslog config located into /etc/rsyslog.d/19-test.conf with…
chirgeo
  • 111
  • 1
  • 9
6
votes
2 answers

How to setup syslog in yocto?

I like to configure syslog. It seems that are more than one way to set up syslog. I am asking for the common way/steps to do that. I have several use cases. To simplify I like to ask how to configure syslog to write an infinity long log file in…
Stefan Jaritz
  • 1,999
  • 7
  • 36
  • 60
6
votes
1 answer

How to make rsyslogd flush its buffers

I am running rsyslogd 5.8.6 on linux. Other systems on the network use it as a logger. Event rates are very low, and it often happens that the remote message is received, but does not get written out to the /var/log/syslog file until several minutes…
user3457334
  • 171
  • 2
  • 5
6
votes
1 answer

docker error when using log-driver="syslog" on OS X

docker error when using --log-driver="syslog" on OS X I am trying to learn how to use docker containers on OS X (10.10.3), I understand the differences with the standard Linux implementation ( need boot2docker VM) and I wonder if there is any impact…
user762579
6
votes
1 answer

Java to rsyslog: STDOUT or syslog?

My understanding of rsyslog is that it is a syslog server implementation common on Ubuntu machines. Futhermore, my understanding is that rsyslog can be used to hook/capture STDOUT output as well as standard syslog messages. Last, my understanding is…
DirtyMikeAndTheBoys
  • 1,077
  • 3
  • 15
  • 29
6
votes
2 answers

Is there a robust java.util.logging handler implementation of syslog?

I'm looking into hooking up a 3rd party Java application to our log aggregation/analysis solution (probably Splunk, we haven't finalized our selection yet though). It seems to be easiest to hook the Splunk agent to syslog, so I'm looking for a way…
Tomer Gabel
  • 4,104
  • 1
  • 33
  • 37
6
votes
2 answers

How to send the syslog output to stdout?

I m using syslog in myprograme to generate log messages. Is there a way to send the syslog output of my program to stdout ? I do not want to use the tail command to see my program log, I would like to see it directly on the console
MOHAMED
  • 41,599
  • 58
  • 163
  • 268
6
votes
1 answer

Where do DEBUG and INFO messages go when using Python's SyslogHandler on MAC OSX?

I configured a Python logger with a SysLogHandler and as a test logged some messages using all the levels: debug, info, warning, error, critical. I see all my messages if I run 'syslog' or if I look at the Console.app display. So, all the messages…
Pyramid Newbie
  • 6,865
  • 3
  • 24
  • 28
6
votes
1 answer

Writing in separate log files

I am trying to write different type of entries in separate log files from an application. For reason which I am trying to find out, all entries appear in all log files. What could I be doing wrong ? I want only critical entries to go in…
Me Unagi
  • 615
  • 2
  • 7
  • 18
6
votes
4 answers

What is the fastest Ruby logger implementation?

I want to find the fastest logger Ruby has to offer. My intuition tells me that syslog would win in this race. But my intuition seems to be wrong. Syslog turns out to be the slowest out of the three loggers I've tested. I'm using my MacBook Pro,…
newtonapple
  • 4,123
  • 3
  • 33
  • 31