Re: Disabling non-syslog logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
>From: "Amar Tumballi" <amar@xxxxxxxxxxx>
>To: "Ian Latter" <ian.latter@xxxxxxxxxxxxxxxx>
>Subject:  Re: Disabling non-syslog logging
>Date: Wed, 18 Apr 2012 09:16:05 +0530
>
> >
> 
> > > can you try 'gluster volume set <VOLNAME> client-log-level
> > NONE' ?
> > >
> >
> > Thanks for the suggestion;
> >
> >  Running this (glusterfs v3.2.6) works (logs a succeed
> > message) but the bricks continue to accrue client
> > connection notices. There is also still the .cmd-history
> > log amongst other files.
> >
> >  Note that the objective here is no log files at all;
i.e. at
> > the moment if the directory /var/log/glusterfs is not
> > created gluster fails to run.  This was not the behaviour
> > under the older architecture, when "-l /dev/null" was
> > specified ..
> >
> >
> > Oops,
> 
> then try
> 
> bash# gluster volume set <VOLNAME> brick-log-level NONE
> 
> and see if there are no logs now...
> 

Okay;

  So my startup sequence is now;
    /sbin/gluster --mode=script volume create testvol [...]
    /sbin[...] volume set testvol client-log-level NONE
    /sbin[...] volume set testvol brick-log-level NONE
    /sbin[...] volume start testvol

  There are still log files being created in  
/var/log/glusterfs/bricks/, but they look like they stop 
logging after initialisation.  I.e. there's some init info 
followed by the vol file and then nothing after that, in 
each log file.

Thanks for this info - its good info - you guys should 
add it to the public administration docco;
 
http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/AG/html/chap-Administration_Guide-Troubleshooting.html#id698380


Cheers,



--
Ian Latter
Late night coder ..
http://midnightcode.org/



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux