[Kea-users] Configuring LFC logger ?

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Fri Apr 1 08:09:23 UTC 2016




Also, I've noticed that although in the logs we see "LOCAL0", the syslog facility reached is actually "user", not "local0".

Bug ?




> 
> Hello Kea friends,
> 
> 
> I have a question about LFC and logging:
> 
> By default, the LFC process logs through syslog with facility "local0".
> I'm trying to make it log into a file. I've added the following in kea configuration file:
> 
> 
>                 {
>                         "name": "DhcpLFC",
>                         "output_options": [
>                                 {
>                                         "destination": "file",
>                                         "output": "/path-to-logs/kea1-open-lfc.log"
>                                 }
>                         ],
>                         "severity": "INFO"
>                 },
> 
> 
> 
> 
> But this does not work.
> The "name" (DhcpLFC) I've retrieved from the code, but it is probably wrong, since it is not listed in the available defined loggers (kea guide 17.1.1.1 "defined loggers").
> 
> I'm not really sure this is feasible, since kea guide also states the following (about lfc command line process):
> 
> "The -c argument specifies the configuration file. This is required, but not currently used by the process."
> 
> 
> 
> So... is there a way (besides configuring syslog itself) to configure the LFC logs ?
> 
> 
> 
> 
> Thanks for your help.
> 
> Regards,
> Nicolas.
>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



More information about the Kea-users mailing list