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.

Clear all logs in CUCM 6.x?

Is there a way to clear all logs in CUCM 6.x? Someone turned logging and it's clogged my disk space. I want to delete all log files

I know in the CLI i can do file delete, but after that, there are no instructions.

RTMT is worthless.

thanks!

5 REPLIES
Cisco Employee

Re: Clear all logs in CUCM 6.x?

hi Tommer

one of the many things we cannot do easily on this new release, but here's a shortcut for you:

on the cli do

file list activelog /cm/trace/*

this will give you all the folders for the traces, if you do:

file list activelog /cm/trace/ccm/sdi/*

you will see all of your CUCM SDI traces, now to delete them:

file delete activelog /cm/trace/ccm/sdi/* noconfirm

you will delete all of the traces in there, do not forget the noconfirm, otherwise you will be asked if you're sure you want to delete for EVERY file.

guess this will give you the general idea of what to do for all the tracing that was active and you want to delete, how to find it and how to delete it

HTH

javalenc

if this helps, please rate

HTH

java

if this helps, please rate

www.cisco.com/go/pdi

Re: Clear all logs in CUCM 6.x?

Thanks much! I will try it!

Re: Clear all logs in CUCM 6.x?

So do I need go into every single directory and do this to delete? There is no blanket way to delete all traces/logs?

Cisco Employee

Re: Clear all logs in CUCM 6.x?

unfortunately no, that's the fastest way to do it.

it's the equivalent of getting into the folder and doing a CTRL+A and then supr in older windows versions. also that's the only way the file delete command will let you delete the files. =(

HTH

javalenc

if this helps, please rate

HTH

java

if this helps, please rate

www.cisco.com/go/pdi

Re: Clear all logs in CUCM 6.x?

Ok, I found another way to do this. Much easier.

Trace Collections, then select them all, delete.

10106
Views
15
Helpful
5
Replies