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

Liu Yuan namei.unix at gmail.com
Tue Aug 13 12:39:37 CEST 2013


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.

Thanks
Yuan



More information about the sheepdog mailing list