1834150 Members
1992 Online
110064 Solutions
New Discussion

Re: log file creation

 
Sprint Unix Team
Frequent Advisor

log file creation

Which are the files to be edited to create a new log files. I look into the syslog.conf file but could not find any configurable parameters.

I need to log messages from a CISCO pix to a server.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: log file creation

Syslog listens at port 514. If your cisco is sending the messages at this port, you should receive the mail unless you told your syslog not to listen by running it with -N option.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
James R. Ferguson
Acclaimed Contributor

Re: log file creation

Hi:

The man pages for 'syslogd' (1M) and 'logger' offer information on logging. Does this help?

...JRF...
Andreas Voss
Honored Contributor

Re: log file creation

Hi,

if you want to log messages from cisco router to syslogd you could use this:

At cisco configure as follows:

no logging console
logging monitor informational
logging facility local0
logging

At the hpux box add a line in the file /etc/syslog.conf:

local0.info /var/adm/syslog/cisco.log

(delimiter must be a tab char)

Now restart syslogd:

/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start

At this point messages from cisco should be written in the file /var/adm/syslog/cisco.log

Good luck