Hi<br><br>This is my first post to dev mailing list and I am pretty excited :)<br><br>I want the uuid prefixed for spandsp internal messages in the log. <br><br>I noticed these are the ones printed  by line 285 in mod_spandsp_fax.c<br>
  switch_log_printf(SWITCH_CHANNEL_LOG, fs_log_level, &quot;%s&quot;, msg);<br><br>The lines which do print the uuid use the session variable<br>  switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, &quot;=== Negotiation Result =============\n&quot;);<br>
<br><br>So basically, I have to modify the function<br>void spanfax_log_message(int level, const char *msg)<br><br>so that it accepts user_data from which I can get the session. <br><br>What other change do I have to do to make sure that this new function definition will be used correctly else where? <br>
<br>And, if I am not thinking in the right direction, is there a simpler way to achieve this ?<br><br>Thanks. <br><br clear="all">regards,<br>Anita<br><br>