[Yum-devel] [PATCH] Use LOG_USER as default syslog facility everywhere in base.
Ville Skyttä
ville.skytta at iki.fi
Mon Mar 22 19:02:18 UTC 2010
On Monday 22 March 2010, James Antill wrote:
> On Mon, 2010-03-22 at 19:57 +0200, Ville Skyttä wrote:
> > ---
> >
> > yum/config.py | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/yum/config.py b/yum/config.py
> > index ad8db7e..cb01306 100644
> > --- a/yum/config.py
> > +++ b/yum/config.py
> >
> > @@ -601,7 +601,7 @@ class StartupConf(BaseConfig):
> > pluginconfpath = ListOption(['/etc/yum/pluginconf.d'])
> > gaftonmode = BoolOption(False)
> > syslog_ident = Option()
> >
> > - syslog_facility = Option('LOG_DAEMON')
> > + syslog_facility = Option('LOG_USER')
>
> Why? This has been the default for years.
"The default" seems to vary. It's LOG_USER in
logginglevels.syslogFacilityMap() (fallback for unrecognized facilities) and
logginglevels.doLoggingSetup() (default if not set), and I think for general
yum usage, LOG_USER makes more sense than LOG_DAEMON.
More information about the Yum-devel
mailing list