[Openais] [PATCH] Use objdb

Patrick Caulfield pcaulfie at redhat.com
Fri Apr 7 00:48:48 PDT 2006


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
  }
}

-- 

patrick



More information about the Openais mailing list