<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1499413731424_2493">Hi,</div><div id="yui_3_16_0_ym19_1_1499413731424_2732"><br></div><div id="yui_3_16_0_ym19_1_1499413731424_2557">   I have written a Pre auth hook which uses log_debug to print messages in radius log files. This is working well on my lab radius.</div><div id="yui_3_16_0_ym19_1_1499413731424_2579" dir="ltr">however, when I use same script in production I do get</div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2607"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2608">Fri Jul  7 08:40:19 2017: ERR: Error in PreAuthHook(): Undefined subroutine &Radius::Configurable::log_debug called at (eval 61) line 2.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2609"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2610">What could be the problem and fix ?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2611"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2612">Regards,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1499413731424_2613">-Manish<br></div></div></body></html>