Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSM server syslog

Hi,

We have a CSM installed on windows server, which has a syslog file defined for the given location: C:\Program Files\CSCOpx\log\syslog.log, due to which the C:\ Drive gets full and the CSM server does not respond. We then have to login by safe mode and shift the syslog file another location. After which is system is back to normal.


Is there any way to change the location of syslog file, without reinstallation.


Thanks


Raj

7 REPLIES
Cisco Employee

Re: CSM server syslog

Raj;

  It is not currently possible to change the location of the syslog.log file.  You can go into the CSM web interface and configure log rotation for the syslog.log file to keep the file within specific size limits and number of copies to keep.

  You can access this section by logging into the CSM web server (not the CSM client) and navigating to Server Adminstration>Log Rotation.  You can then add the specific file (syslog.log in your case) to the list of files for rotating and then set up a schedule.  This should help in maintaining the log file size and your space issue.

Scott

New Member

Re: CSM server syslog

Hi Scott,

We are running CMS ver 3.0.1. here I did not find any log rotation option. Please find the attachment for ur references.


Even after running those cmd syslog is still captured and old location.(C:\Program Files\CSCOpx\log\syslog.log)


To avoid the over size of the file I stopped the deamon manager service and shifted the log file to new location so that fresh log started capturing in same old location.


Any more suggestions.


Thanks


Raj

Cisco Employee

Re: CSM server syslog

My apologies, the log rotation script has been presented within the Common Services interface in more recent versions of CSM.

Once you run logrot.pl -c and configure the syslog.log file for rotation, you will need to create a scheduled task within Windows to run logrot.pl (without -c) to perform the actual rotation.  This should then rotate the syslog.log file on the scheduled basis and to the configuration you specified.

Scott

New Member

Re: CSM server syslog

Hi Scott,


Can u please let me in more detail how to achive this.


I did the following way:

C:\Program Files\CSCOpx\bin>logrot.pl

Tue May 25 19:54:54 2010: WARNING: Backup directory, 2, does not exist, or is not a directory; using G:\CSM Log instead for G:\CSM Log\syslog.log.


C:\Program Files\CSCOpx\bin>


awaiting reply,


Thanks,


Raj

Cisco Employee

Re: CSM server syslog

Raj;

  On your CSM server, you should be able to navigate to:

Start>All Programs>Accessories>System Tools>Scheduled Tasks

You can then click "Add Schedueld Task" to have the wizard guide you through scheduling the task.

Should you have questions on full use of the task scheduling system within Windows, you will need to contact Microsoft for further assistance.

Scott

Cisco Employee

Re: CSM server syslog

You can go in the CSM client under Tools and Logging Settings.

You can also make logging less detailed to save a little space.

I hope it helps.

PK

New Member

Re: CSM server syslog

Hi PK,

Is this the log ur talking of. I tried this log time but no help. see attached file.

Any other option.


Thanks

934
Views
2
Helpful
7
Replies
CreatePlease to create content