List:General Discussion« Previous MessageNext Message »
From:Kristen G. Thorson Date:October 12 2005 2:42pm
Subject:How to use logrotate to manage binary logs
View as plain text  
Hi all,

This may be a simple solution that I'm just not seeing.  logrotate has 
trouble with binlogs since the extension keeps changing, so instead of 
actually rotating logs out, I just get a dir filled with

binlog.001.1
binlog.002.1
binlog.003.1
binlog.004.1
binlog.005.1
binlog.006.1

and on to inifinity.  The manual says "If you supply an extension in the 
log name (for example, |--log-bin=/|file_name.extension|/|), the 
extension is silently removed and ignored," so it appears I'm stuck.  
Does anyone have some pointer for me to set up auto-rotation?  I'm 
somehow not finding much info on this.


kgt

Thread
How to use logrotate to manage binary logsKristen G. Thorson12 Oct
  • Re: How to use logrotate to manage binary logsgerald_clark12 Oct