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

Log rollover

Hi Guys,

just wondering is there a way to rollover the logs at a specific time each day rather than when they reach a certain file size,

Cheers.
R.

6 REPLIES
New Member

Log rollover

Try this:

C:\Program Files\PuTTY>plink valter@vmw033-esa02.run rollovernow all
Using keyboard-interactive authentication.
Password:
^C
C:\Program Files\PuTTY>plink admin@vmw033-esa02.run rollovernow all
Using keyboard-interactive authentication.
Password:
Log files successfully rolled over.

C:\Program Files\PuTTY>plink admin@vmw033-esa02.run rollovernow mail_logs
Using keyboard-interactive authentication.
Password:
Log files successfully rolled over.


plink is part of Putty tools.

You can check the post for Putty tools backup and create a script to use ssh from unlix-like machine as well.

-Valter

New Member

Re: Log rollover

Hi Valter,

much appreciated!

Re: Log rollover

I suppose that works. There's no way to configure this within ironport itself? :?:

New Member

Re: Log rollover

Hi Bart,

I submitted it as a feature request. That was before I read this KB article though so perhaps I didn't follow standard procedure for a request.
It's not a huge thing as there are work arounds, however it would seem like a logical feature to have on any box built around a Free BSD kernel.

Re: Log rollover

exactly my idea! Seems logical to be able to do this on your box but the workaround is easy enough....

thx for the response!

New Member

Re: Log rollover

just wondering is there a way to rollover the logs at a specific time each day rather than when they reach a certain file size

Not quite, but you can fake it. You can have the logs roll on a periodic basis. You can't schedule it for a certain time, you can just set the interval. But having set the interval, you can do a manual log rollover at a chosen time to get the schedule you want. The only problem is that it will slowly drift.

it would seem like a logical feature to have on any box built around a Free BSD kernel.

It's been my experience that feature visibility is less about what FreeBSD is capable of, and more about what IronPort is willing to spend engineering time to create a good user interface for. For example, IPsec and IPv6 have been on the wish list for quite some time. FreeBSD is capable of both, but IronPort hasn't made either of them into visible features. They don't have infinite talent, so they have to prioritize on what's going to sell the most boxes.

353
Views
0
Helpful
6
Replies
CreatePlease login to create content