Clear all logs in CUCM 6.x?

Unanswered Question
Apr 30th, 2008
User Badges:
  • Green, 3000 points or more

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!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Jaime Valencia Wed, 04/30/2008 - 14:26
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

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

Tommer Catlin Wed, 04/30/2008 - 15:36
User Badges:
  • Green, 3000 points or more

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

Jaime Valencia Wed, 04/30/2008 - 15:46
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

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

Tommer Catlin Wed, 04/30/2008 - 15:55
User Badges:
  • Green, 3000 points or more

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


Trace Collections, then select them all, delete.

Actions

This Discussion