[Kea-users] Configuring LFC logger ?

Thomas Andersen than at itu.dk
Thu Mar 31 18:52:33 UTC 2016


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, "kea-users-bounces at lists.isc.org on behalf of Chaigneau, Nicolas" <kea-users-bounces at lists.isc.org on behalf of nicolas.chaigneau at capgemini.com> 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
>Kea-users at lists.isc.org
>https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list