[lxc-users] Why does lxc-monitor insist on logging to a file?
    Serge E. Hallyn 
    serge at hallyn.com
       
    Sun Apr 12 15:51:16 UTC 2020
    
    
  
On Sat, Apr 11, 2020 at 08:09:56PM -0700, Forest wrote:
> I am not passing any command line options to lxc-monitor, and its manual
> says, "The default is no log."  Nevertheless, whenever I run it,
> lxc-monitord writes to lxc-monitord.log.
> 
> I have tools that regularly use lxc-monitor, and this log file has been
> slowly growing in size for who knows how long.  Passing -o /dev/null doesn't
> help.  How can I banish this file?
> 
> $ lxc-monitor --version
> 3.0.4
Can you show how exactly you start lxc-monitor?  Which file exactly
is being created, and can you show a few of its lines?
-o /dev/null ought to work, but maybe try -l none instead.
    
    
More information about the lxc-users
mailing list