Hi,
I dont know much about the LFC but I know the log levels in kea is much
different than expected some places.
Try set it to debug and see if it generates output.
{
"name": "DhcpLFC",
"output_options": [
{
"destination": "file",
"output": "/path-to-logs/kea1-open-lfc.log"
}
],
"severity": "DEBUG",
"debuglevel": 99
},
And just to make sure you haven’t made the same mistake I did: Do you have more
than one logger with the name DhcpLFC?
Br,
Thomas
On 31/03/16 15:28, "[email protected] on behalf of Chaigneau,
Nicolas" <[email protected] on behalf of
[email protected]> wrote:
>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
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users