Hi,

we load a Hooks.pm using:

StartupHook sub { \
    require "/etc/radiator/Hooks.pm"; \
}

in radius.cfg and have some util functions like normalize_mac in there
which are used in our <Log FILE> LogFormatHook.

It seems the 'Server started' message, and possible some others like
config parse errors, are logged before StartupHook is called leading to
missing logs on startup when calling Hooks.pm functions.

Can StartupHook be moved before any log message is generated?

If not what could be do to ensure no logs are swallowed by LogFormatHook
errors?

Thanks, Alex



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
_______________________________________________
radiator mailing list
[email protected]
http://lists.open.com.au/mailman/listinfo/radiator

Reply via email to