[sheepdog] [PATCH] lib: implement a mechanism for logging with standard syslog

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue Aug 13 13:08:22 CEST 2013


At Tue, 13 Aug 2013 18:39:37 +0800,
Liu Yuan wrote:
> 
> On Tue, Aug 13, 2013 at 07:13:56PM +0900, MORITA Kazutaka wrote:
> > At Tue, 13 Aug 2013 17:53:30 +0800,
> > Liu Yuan wrote:
> > > 
> > > On Tue, Aug 13, 2013 at 06:43:29PM +0900, Hitoshi Mitake wrote:
> > > > At Tue, 13 Aug 2013 17:26:08 +0800,
> > > > Liu Yuan wrote:
> > > > > 
> > > > > On Tue, Aug 13, 2013 at 06:24:11PM +0900, Hitoshi Mitake wrote:
> > > > > > Some users want sheepdog processes to write log to standard syslog
> > > > > > (e.g. /var/log/syslog), mainly for utilizing standard log rotation
> > > > > > policy of their systems.
> > > > > 
> > > > > Do we really need it? sheepdog logger supports log rotation.
> > > > 
> > > > Yes, some of our internal users want sheepdog to adopt standard syslog
> > > > policy. This would be important for reducing administration work.
> > > 
> > > I am still not convinced to accept your patch since log rotation is supported
> > > by current sheepdog logger. any more reasons?
> > 
> > I think there are users who have their own syslog servers.  It makes
> > sense to me for sheepdog to support syslog.
> > 
> > I don't think this patch should go into 0.7.0, though.
> 
> Okay. I think this is a good chance to unitfy '--loglevel' and '--logformat' and
> '--stdout' into a single option. Don't add new option if unnecessary.

OK, I'll unify these options like this later:
--log level=X,format=Y

Thanks,
Hitoshi



More information about the sheepdog mailing list