|
From: Bastiaan B. <Bas...@li...> - 2002-09-18 15:42:29
|
On Wed, 2002-09-18 at 16:24, Derek Atkins wrote: > Bastiaan Bakker <Bas...@li...> writes: > > > The assumption is that in the RemoteSyslogAppnder one specifies the > > facility using its defined constant, eg. LOG_NEWS, rather than an > > explicit numeric value. All the constants are already multiplied by 8. > > This is what openlog(3) expects as well. > > True... > > > > A side note: it appears that the PropertyConfigurator is not properly > > > reading the facility number for a "SyslogAppender" from the > > > configuration file. > > > > Hmm, yes, that's a bug. I'll add the multiplication. Ideally the > > .facility property should accept names as well as values. > > I was having the problem that the getInt() was returning the default > even if I put a valid number in there.. Although providing a name > would be usefule. > Can you find out what's going wrong? The 'name' variant will not be ready for 0.3.2, but a fix for your problem will. > PS_ Thanks for all your work on log4cpp! Thanks. Bastiaan Bakker > > > Cheers, > > > > Bastiaan Bakker > > LifeLine Networks bv > > -derek > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > wa...@MI... PGP key available |