[Openais] [PATCH] Use objdb

Steven Dake scd at broked.org
Fri Apr 7 12:54:21 PDT 2006


I like the first suggestion

regards
-steve

On Fri, 2006-04-07 at 00:48, Patrick Caulfield wrote:
> Steven Dake wrote:
> > Patrick
> > 
> > A bug was introduced in this patch:
> > 
> > When I use the following logoutput lines 
> >         logoutput: stderr
> >         logoutput: syslog
> >         logoutput: file
> > 
> > I don't get stderr output any longer
> > 
> > Could you look into it?  I think logoutput may have to be treated like
> > an object (meaning changes to the config file and man pages) instead of
> > a key because there can only be one key per object, but there can be
> > multiple objects per object.
> > 
> 
> How about changing it (it will have to be changed anyway!) to something like
> 
> logging {
>   to_stderr: yes
>   to_syslog: yes
>   to_file: yes
> }
> 
> The object syntax is a bit over the top for single-key items I think - it
> would end up like:
> 
> logging {
>   logoutput {
>     stderr: yes
>   }
>   logoutput {
>     syslog: yes
>   }
>   logoutput {
>     file: yes
>   }
> }




More information about the Openais mailing list