Now that is an excellent command to know.........
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Scott Lawrence
Sent: Tuesday, February 02, 2010 11:40 AM
To: Tony Graziano
Cc: [email protected]
Subject: Re: [sipx-users] Clear Sipx Logs
On Tue, 2010-02-02 at 14:28 -0500, Tony Graziano wrote:
> cd /var/log/sipxpbx
> rm *.log (answer "y" when prompted)
a little better...
logrotate -f /etc/logrotate.d/sipxchange
that preserves the old logs. This is what happens once per day from a
cron job, but limited to just the sipXecs logs and the '-f' forces it to
happen right now whether it's already happened today or not.
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/