<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi All,<div><br></div><div>Using Kamailio 4.0.0 with a minimal configuration, trying to get some logging to help me understand the system,&nbsp;I can get static log messages easily enough with log, but now want something more useful. &nbsp;</div><div><br></div><div>When I use this route (xdbg example from&nbsp;<a href="http://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages#formatted_log_messages">the tutorial</a>):</div><div><br></div><div><div>route {</div><div>&nbsp; xdbg("SIP Request: method [$rm] from [$fu] to [$tu]\n");</div><div>}</div></div><div><br></div><div>the log file shows these messages:</div><div><br></div><div><div>DEBUG: &lt;core&gt; [sr_module.c:935]: DEBUG: init_mod: xlog</div><div>DEBUG: &lt;core&gt; [main.c:2539]: Expect (at least) 13 SER processes in your process list</div><div>DEBUG: &lt;core&gt; [route.c:927]: fixing xdbg()</div><div>DEBUG: &lt;core&gt; [pvapi.c:390]: PV &lt;$rm&gt; is not in cache</div><div>DEBUG: &lt;core&gt; [pvapi.c:269]: PV cache not initialized, doing it now</div><div>ERROR: &lt;core&gt; [pvapi.c:761]: error searching pvar "rm"</div><div>ERROR: &lt;core&gt; [pvapi.c:965]: wrong char [m/109] in [$rm] at [2 (0)]</div><div>ERROR: xlog [xlog.c:363]: wrong format[SIP Request: method [$rm] from [$fu] to [$tu]#012]</div></div><div><br></div><div><div>and Kamailio shuts down.</div></div><div><br></div><div>Have I missed something obvious?</div><div><br></div><div>Cheers,</div><div>Dave.</div></body></html>