Visit Our UNIX and Linux User Community


Want to know about a entry in syslog.conf


 
Thread Tools Search this Thread
Operating Systems Solaris Want to know about a entry in syslog.conf
# 1  
Old 08-10-2009
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:

Code:
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
# 2  
Old 08-10-2009
Ideally it should be on the sever destserver in the /var/adm/message, in the log lookout for hostname of the system which is throwing the log.
# 3  
Old 08-10-2009
Quote:
Originally Posted by naw_deepak
Hi Everyone,

I just wanted to know about the below entry in syslog.conf in Solaris 10:

Code:
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
Shouldn't it be controlled by "kern.notice" entry in /etc/syslog.conf on destserver? I always thought it is working like that, I never tested it though.
# 4  
Old 08-11-2009
Please give me some more views to understand this. Request experts to say their opinion about this.

Thanks,
Deepak
# 5  
Old 08-11-2009
What bartus11 is trying to say is if you got central log server then the logs file are going to decided by the syslog.conf file of central log server. On the server if there are line which says some thing like below then it means that the for the facility and level the log file which is used to /var/adm/messages

Quote:
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
Which cane be changed depending upon your requirement.

Last edited by kumarmani; 08-11-2009 at 05:07 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #221
Difficulty: Easy
Apple's OS X (macOS) installed base had grown to 80 million users as reported at the WWDC 2014.
True or False?

9 More Discussions You Might Find Interesting

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

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

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

4. Shell Programming and Scripting

Conf file entry.

Hi, Lets say I have a script which reads a conf file (say MASTERFILE) line by line to fetch file_name, source_path, dest_path. But currently, here the file name are static for eg: ABC.txt or XYZ.txt. So i have hard-coded in the conf file. So what happens that the script picks up the file_name... (1 Reply)
Discussion started by: amit.mathur08
1 Replies

5. UNIX for Dummies Questions & Answers

Help confiuring syslog.conf

Hi, We had a hardware problem at work and none of the kernel problems outputted to the log file, just the screen. How can I configure the syslogd.conf file to record kernel events (ie hardware problems) to /dev/console and/var/log/messages. Can I just put: /dev/console /var/log/messages on... (5 Replies)
Discussion started by: mojoman
5 Replies

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

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

8. Shell Programming and Scripting

delete dhcp.conf entry using sed

I am trying to use sed to remove entries from my dhcpd.conf file. The form of the file is: host foo { option 1 option 2 } host bar { option 1 option 2 } I was trying to use a label like: sed -e :a -e "s/^host bar {*//g;/{/N;//ba" /etc/dhcpd.conf... (2 Replies)
Discussion started by: tizatron
2 Replies

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

Featured Tech Videos