Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Large Syslog file on Ciscoworks.

Hi,

My syslog file grows quite first, how can i manage it? on F:\Program Files\CSCOpx\log\syslog.log

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Large Syslog file on Ciscoworks.

You should start a command prompt, then run:

F:\progra~1\cscopx\bin\perl.exe F:\progra~1\cscopx\bin\logrot.pl -c

That will start the logrot configurator. Again, refer to the online help for more details.

7 REPLIES
Cisco Employee

Re: Large Syslog file on Ciscoworks.

Use logrot.pl. The script can be found under F:\progra~1\CSCOpx\bin. It is also documented in the online help. Just search for logrot.

New Member

Re: Large Syslog file on Ciscoworks.

Hi Clarke,

When i run the script F:\progra~1\CSCOpx\bin\perl.exe the window just opens and hungs at that. The F:\progra~1\CSCOpx\bin\logrot.pl can open. What could be the problem?

Cisco Employee

Re: Large Syslog file on Ciscoworks.

You should start a command prompt, then run:

F:\progra~1\cscopx\bin\perl.exe F:\progra~1\cscopx\bin\logrot.pl -c

That will start the logrot configurator. Again, refer to the online help for more details.

New Member

Re: Large Syslog file on Ciscoworks.

Thanks will get back.

New Member

Re: Large Syslog file on Ciscoworks.

Hi,

I have re-checked on the online help and i think my problem is on the command syntax, i have tried entering the command in different ways but can't get it right. See below.

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>F:\Program Files\cscopx\bin\perl.exe F:\Program Files\cscopx\bin\logrot.pl -c

'F:\Program' is not recognized as an internal or external command,operable program or batch file.

C:\Documents and Settings\Administrator>

Kindly assist.

Rgds

Winnie.

Cisco Employee

Re: Large Syslog file on Ciscoworks.

If you copy and paste exactly what I put in my previous post, it will work:

F:\progra~1\cscopx\bin\perl.exe F:\progra~1\cscopx\bin\logrot.pl -c

New Member

Re: Large Syslog file on Ciscoworks.

Clarke,

Thank you very much, i will now monitor my log files now.

Regards

Winnie.

313
Views
5
Helpful
7
Replies
CreatePlease to create content