Questions tagged [syslog]

Syslog is a standard for logging program messages.

Syslog is a standard for logging program messages.Wikipedia

1162 questions
0
votes
1 answer

Intercepting Syslog log Traffic to a Custom UDP Server

I'm trying to intercept application specific syslog log traffic from a custom UDP server in ubuntu. For testing purposes, I stopped the default syslogd daemon running in port 514 and configured a UDP server to listen to UDP traffic on port 514. I…
Izza
  • 2,389
  • 8
  • 38
  • 60
0
votes
1 answer

Redirecting php logs (custom application) using Log4php to syslog-ng

I have a custom application running on client which uses php, whose log's are controlled by log4php.properties ( say DEBUG or INFO ) however, in addtion existing logging setup, i would like to send these logs to syslog-ng running server. Below is…
cb24
  • 61
  • 2
  • 6
0
votes
1 answer

log search, for first specific entry print to logfile

Question: I'm trying to search a syslog (Linux server) for the first entry of an specific event and then execute a command (future development) and then log the information. I'm not sure if I have approached this the right way. Problem: not sure…
onxx
  • 1,435
  • 3
  • 13
  • 22
0
votes
1 answer

Accessing host information in server.xml from within servlet application

We have a site which is powered by spring mvc. I've added a bean that is Initalizing and ServletContextAware in which I modify the pattern to our syslog appender, adding database server, name, username etc. I want to add something to the pattern…
Marcus
  • 1,866
  • 1
  • 20
  • 33
0
votes
2 answers

iOS - How to view NSLog and printf output in ssh session on phone?

I have a simple iPhone App that uses an NSLog and several printf statements. The app is a simple test app that I created to test serial communication on the iPhone (3GS). Obviously I can not test serial com with the iOS Simulator, so I have my…
ipatch
  • 3,933
  • 8
  • 60
  • 99
0
votes
1 answer

Log to remote syslog server with Ruby

I would like to create logs to a Syslog Server (Kiwi Syslog Server, to be more precise) from ruby. I don't want to log ruby or rails stuff to the syslog server. I want to create a pre-define log message when an event occurrs and log this to a remote…
lcguida
  • 3,787
  • 2
  • 33
  • 56
0
votes
1 answer

syslog with PHP and a custom file

I'm trying to get a PHP command line script to write informational messages to a custom file. I'm working on a MacBook with OSX Lion installed. I (now) have this in my syslog.conf file: local2.error /var/log/myapp/error.log local2.=warning …
Troy
  • 1,799
  • 3
  • 20
  • 29
0
votes
1 answer

why syslog-ng cannot startup with SELinux TYPE syslogd_exec_t?

I have syslog-ng installed on CentOS 5.7 system with SELinux enforcing. i cannot startup syslog-ng service by "service syslog-ng start", because of the error: [root@localhost ~]# service syslog-ng start Starting syslog-ng: GThread-ERROR **: file…
Emre He
  • 497
  • 11
  • 23
0
votes
1 answer

Multiple apache virtual host on different rsyslog facilities

Working on CentOS (specifically the Amazon EC2 Linux AMI). I have 2 virtual host on my apache, and I would like them to log on different rsyslog facilities, so I configured my hosts like this: DocumentRoot /var/www/site1 …
MatteoSp
  • 2,940
  • 5
  • 28
  • 36
0
votes
1 answer

Unique ip connections in a syslog file

I am analyzing a syslog files that have been created as a result of a DDOS attack and would like to a create a list of unique ip connections.Any assistance is greatly appreciated.
msudi
  • 169
  • 1
  • 1
  • 8
0
votes
1 answer

Troubles with Syslog to Kiwi Syslog Server from PHP

I'm trying to test an installation of Windows Kiwi Syslog Server by logging to it using the syslog function in PHP as follows: syslog(LOG_WARNING, "test123"); The function returns true but the log doesn't show up in Kiwi which is running on the…
Dan
  • 3,389
  • 5
  • 34
  • 44
0
votes
1 answer

storing syslog messages to MySQL using rsyslog

I need to store Syslog messages to a database like MySQL for one of my application. but i only want to store those messages which contains a specific pattern. I don't want to store all the lines which are logged to Syslog. Is it possible to specify…
Ankit Kumar
  • 1,433
  • 1
  • 16
  • 24
0
votes
1 answer

Python WSGI and syslog

I have a python script that is looging to syslog without an issue. On the same box I have a python script running via apache and WSGI and I can not get it to log to syslog. The logging configuration is almost identical and here is the section from…
fredsnertz
  • 453
  • 1
  • 4
  • 6
0
votes
1 answer

cron and wget: how to prevent cron from cluttering syslog with "grandchild failed" messages?

This is a huge annoyance. Whilst in older wget versions (even stated so in the man page) the whole error code functionality had never worked reliably, current wget versions appear to have it working TOO reliably. I have a cron job that might be…
syntaxerror
  • 661
  • 2
  • 6
  • 24
-1
votes
1 answer

rSyslog stopped sending only SOME data

I have configured a remote logging from one of my servers to the central log server via rsyslog TCP/SSL Everything worked fine until yesterday where most of the files just stop being transmitted while some are still sent/updated in the log server. I…
Mr.P
  • 1,182
  • 3
  • 20
  • 44