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.

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to