Sponsored Content
Full Discussion: Configuring syslog.conf
Operating Systems Linux Red Hat Configuring syslog.conf Post 302764121 by zazzybob on Thursday 31st of January 2013 02:49:30 AM
Old 01-31-2013
This will work, as long as the Windows syslog server windowshost is resolvable by DNS or /etc/hosts (or whatever naming services you're using) and the syslog server is listening on port 514/udp. Kiwi Syslog on Windows works fine for this, and I've used it many times previously.

BTW: Please use code tags to make your configuration/code/etc. more readable.
 

10 More Discussions You Might Find Interesting

1. Red Hat

syslog.conf

Hi all I have a RedHat Linux AS2.1 server that keep crashing/rebooting and there are no messages in the /var/log/messages file pointing to any problems. I had a look at the /etc/syslog.conf file to see what gets logged to /var/log/messages, but I don't know what else to add. Can anyone tell me... (1 Reply)
Discussion started by: soliberus
1 Replies

2. UNIX for Dummies Questions & Answers

Configuring syslog.conf in a TRU64 UNIX machine

Dear all I want to redirect the logs of the syslog of a tru64 unix machine in a log and event monitoring tool installed in another server. In the syslog.conf i have appended *.*@<server_name> at the end, where <server_name> is the name of the machine on which the reporting tool is running. I... (0 Replies)
Discussion started by: adak2010
0 Replies

3. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

4. Linux

SYSLOG.CONF another port

Hi everybody, i have a little problem... I have two server srv01 and srv02. srv02 have a syslogd server onboard and listen on 515... not on 514 (it's busy). How i configure the syslog.conf of srv01 for send logs on srv02:515 ??? Now i have on srv01: *.* @srv02 if i write: *.* ... (0 Replies)
Discussion started by: Zio Bill
0 Replies

5. Solaris

syslog-ng.conf

Has anyone here configured a central syslog server using syslog-ng ? I have set one up and I'm trying to tune the syslog-ng.conf file, both for the server and the client. I have found lots of linux example files, but not much on Solaris which is slightly different. So if you have a Solaris... (5 Replies)
Discussion started by: Tornado
5 Replies

6. Solaris

Want to know about a entry in syslog.conf

Hi Everyone, I just wanted to know about the below entry in syslog.conf in Solaris 10: kern.notice @destserver Now the log will be redirected to destserver. But I want to know the location on the destserver where this log will be thrown. Thanks in Advance, Deepak (4 Replies)
Discussion started by: naw_deepak
4 Replies

7. UNIX for Advanced & Expert Users

Modifying syslog.conf

I have a RHEL box that I want to be the loghost for all of the other systems on my network and have set up a /logs partitions to hold all of the logs. I've also created a file called current.log that will contain daily logs and created it using the following command: cp /dev/null current.log. ... (4 Replies)
Discussion started by: goose25
4 Replies

8. Shell Programming and Scripting

syslog.conf

How can i configure messages with warn priority to be logged in /var/log/mywarnings.log ? (1 Reply)
Discussion started by: g0dlik3
1 Replies

9. BSD

Syslog.conf issue

I'm trying to get all ipfw logs going to ipfw.log I've managed that, but ipfw.log is also getting stuff that shows up in system.log !-ipfw *.notice;authpriv,remoteauth,ftp,install,internal.none /var/log/system.log kern.* /var/log/kernel.log... (5 Replies)
Discussion started by: jnojr
5 Replies

10. Solaris

Which are the available entries to forward syslog in syslog.conf?

Hi Community Which are the available entries to forward syslog in syslog.conf i have put *.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50 and it's not going through.giving error message like below: syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
DEFINE_SYSLOG_VARIABLES(3)						 1						DEFINE_SYSLOG_VARIABLES(3)

define_syslog_variables - Initializes all syslog related variables

SYNOPSIS
void define_syslog_variables (void ) DESCRIPTION
Initializes all variables used in the syslog functions. RETURN VALUES
No value is returned. Syslog variables +--------------+-------------------------------+---+---+ | Variable | | | | | | | | | | | Constant equal | | | | | | | | | | Meaning | | | | | | | | | | Notes | | | | | | | | +--------------+-------------------------------+---+---+ | $LOG_EMERG | | | | | | | | | | | | | | | | LOG_EMERG | | | | | | | | | | System is unusable | | | | | | | | | | | | | | | T{ $LOG_ALERT | | | | | | | | | | | | | | | LOG_ALERT | | | | | | | | | | Immediate action required | | | | | | | | | | | | | | | T{ $LOG_CRIT | | | | | | | | | | | | | | | LOG_CRIT | | | | | | | | | | Critical conditions | | | | | | | | | | | | | | | T{ $LOG_ERR | | | | | | | | | | | | | | | LOG_ERR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_WARNING | | | | | | | | | | | | | | | LOG_WARNING | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOTICE | | | | | | | | | | | | | | | LOG_NOTICE | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_INFO | | | | | | | | | | | | | | | LOG_INFO | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_DEBUG | | | | | | | | | | | | | | | LOG_DEBUG | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_KERN | | | | | | | | | | | | | | | LOG_KERN | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_USER | | | | | | | | | | | | | | | LOG_USER | | | | | | | | | | Genetic user level | | | | | | | | | | | | | | | T{ $LOG_MAIL | | | | | | | | | | | | | | | LOG_MAIL | | | | | | | | | | Log to email | | | | | | | | | | | | | | | T{ $LOG_DAEMON | | | | | | | | | | | | | | | LOG_DAEMON | | | | | | | | | | Other system daemons | | | | | | | | | | | | | | | T{ $LOG_AUTH | | | | | | | | | | | | | | | LOG_AUTH | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_SYSLOG | | | | | | | | | | | | | | | LOG_SYSLOG | | | | | | | | | | | | | | | |T{ Not available on Netware | | | | | | | | | $LOG_LPR | | | | | | | | | | | | | | | | LOG_LPR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NEWS | | | | | | | | | | | | | | | LOG_NEWS | | | | | | | | | | Usenet new | | | | | | | | | | Not available on HP-UX | | | | | | | | | $LOG_CRON | | | | | | | | | | | | | | | | LOG_CRON | | | | | | | | | | | | | | | |T{ Not available on all | | | | | platforms | | | | | | | | |$LOG_AUTHPRIV | | | | | | | | | | | | | | | | LOG_AUTHPRIV | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | | $LOG_LOCAL0 | | | | | | | | | | | | | | | | LOG_LOCAL0 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL1 | | | | | | | | | | | | | | | | LOG_LOCAL1 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL2 | | | | | | | | | | | | | | | | LOG_LOCAL2 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL3 | | | | | | | | | | | | | | | | LOG_LOCAL3 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL4 | | | | | | | | | | | | | | | | LOG_LOCAL4 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL5 | | | | | | | | | | | | | | | | LOG_LOCAL5 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL6 | | | | | | | | | | | | | | | | LOG_LOCAL6 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL7 | | | | | | | | | | | | | | | | LOG_LOCAL7 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_PID | | | | | | | | | | | | | | | | LOG_PID | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_CONS | | | | | | | | | | | | | | | LOG_CONS | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_ODELAY | | | | | | | | | | | | | | | LOG_ODELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NDELAY | | | | | | | | | | | | | | | LOG_NDELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOWAIT | | | | | | | | | | | | | | | LOG_NOWAIT | | | | | | | | | | | | | | | |T{ Not available on BeOS | | | | | | | | | $LOG_PERROR | | | | | | | | | | | | | | | | LOG_PERROR | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | +--------------+-------------------------------+---+---+ Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. EXAMPLES
Example #1 define_syslog_variables(3) example <?php // Check if syslog variables already is defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open the log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script ... ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function was removed from PHP. | | | | | 5.3.0 | | | | | | | This function now throws an E_DEPRECATED notice. | | | | +--------+---------------------------------------------------+ SEE ALSO
openlog(3), syslog(3), closelog(3). PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy