Sponsored Content
Full Discussion: Syslog.conf issue
Operating Systems BSD Syslog.conf issue Post 302872047 by DGPickett on Thursday 7th of November 2013 03:20:42 PM
Old 11-07-2013
Yes, syslog can send the same message to many files. Each file has to filter for itself.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache httpd.conf <VirtualHost> issue

I have just configured httpd.conf on a new Redhat 9 install. Below are my additions to httpd.conf. Everything works fine except that when typing http://spetnik.d2g.com into my web browser, I am sent to the "Default catch all" site. Any clues? NameVirtualHost *:80 #Default catch all ... (5 Replies)
Discussion started by: Spetnik
5 Replies

2. 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

3. 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

4. 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

5. 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

6. Solaris

best configuration for syslog.conf

I would like to configure the syslog.conf to have a good monitoring information about my system. do you have any idea about best configuration from your experience in your Data Centers BR, (5 Replies)
Discussion started by: maxim42
5 Replies

7. Red Hat

Issue on resolv.conf

Hi all, :( I am facing issue while I have updated in resolv.conf, after nework service restart, it was automatically deleted IP from resolv.conf file. Could you please let me know what is the reason resolv.conf deleted any IP which I have manually updated, but it store only my router IP... (3 Replies)
Discussion started by: Pradipta Kumar
3 Replies

8. UNIX for Dummies Questions & Answers

DNS server - /etc/resolv.conf file issue

Hi, Am trying to configure DNS server and trying to keep the information in /etc/resolv.conf file as: search server nameserver 192.168.0.10 when i restart the network service with #service network restart, resolv.conf file is changing as: nameserver 192.168.0.10 search server -... (5 Replies)
Discussion started by: raosr020
5 Replies

9. HP-UX

HPUX nsswitch.conf issue

Hi all, There wasn't nsswitch.conf file in my HPUX server. So I copied /etc/nsswitch.files to /etc/nsswitch.conf and changed the content like below. passwd: compat group: compat hosts: files dns nis ipnodes: dns files services: nis files networks: nis... (2 Replies)
Discussion started by: sembii
2 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
syslog.h(3HEAD) 						      Headers							   syslog.h(3HEAD)

NAME
syslog.h, syslog - definitions for system error logging SYNOPSIS
#include <syslog.h> DESCRIPTION
The <syslog.h> header defines the following symbolic constants, zero or more of which can be OR'ed together to form the logopt option of openlog(): LOG_PID Log the process ID with each message. LOG_CONS Log to the system console on error. LOG_NDELAY Connect to syslog daemon immediately. LOG_ODELAY Delay open until syslog() is called. LOG_NOWAIT Do not wait for child processes. The following symbolic constants are defined as possible values of the facility argument to openlog(): LOG_KERN reserved for message generated by the system LOG_USER message generated by a process LOG_MAIL reserved for message generated by mail system LOG_NEWS reserved for message generated by news system LOG_UUCP reserved for message generated by UUCP system LOG_DAEMON reserved for message generated by system daemon LOG_AUTH reserved for message generated by authorization daemon LOG_CRON reserved for message generated by clock daemon LOG_LPR reserved for message generated by printer system LOG_LOCAL0 reserved for local use LOG_LOCAL1 reserved for local use LOG_LOCAL2 reserved for local use LOG_LOCAL3 reserved for local use LOG_LOCAL4 reserved for local use LOG_LOCAL5 reserved for local use LOG_LOCAL6 reserved for local use LOG_LOCAL7 reserved for local use The following is declared as a macro for constructing the maskpri argument to setlogmask(). The following macro expands to an expression of type int when the argument pri is an expre ssion of type int: LOG_MASK(pri) a mask for priority pri The following constants are defined as possible values for the priority argument of syslog(): LOG_EMERG A panic condition was reported to all processes. LOG_ALERT A condition that should be corrected immediately. LOG_CRIT A critical condition. LOG_ERR An error message. LOG_WARNING A warning message. LOG_NOTICE A condition requiring special handling. LOG_INFO A general information message. LOG_DEBUG A message useful for debugging programs. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
syslog(3C), attributes(5), standards(5) SunOS 5.10 10 Sep 2003 syslog.h(3HEAD)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy