Thanks Steve!<br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 3:32 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

&#39;fsctl loglevel 9&#39; controls the core logging, all logs are routed through here and dropped if they&#39;re below the logging level set there. On top of that modules that handle log messages separately filter log levels.<br>



<br><div>&#39;console loglevel 9&#39; controls mod_console which is only for when freeswitch is started in the foreground.</div><div><br></div><div>You don&#39;t want to use either of the above.</div><div><br></div><div>


Mod_event_socket controls logging via ESL connections. You need to issue the &#39;log&#39; ESL command to set the log level on a per-connection basis (this is what /log does in fs_cli).</div>
<div><br></div><div>See <a href="http://wiki.freeswitch.org/wiki/Mod_event_socket#log" target="_blank">http://wiki.freeswitch.org/wiki/Mod_event_socket#log</a><br></div><div><br></div><div>Note log is an ESL protocol command, not an api/app.</div>



<div><br></div><div>-Steve</div><div class="HOEnZb"><div class="h5"><div><br></div><div><br></div><div><div><br><div class="gmail_quote">On 4 February 2013 13:50, Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><h3><a href="http://www.punchng.com/news/i-cant-solve-nigerias-problems-alone-president/" target="_blank"><i></i><i></i></a><font><span style="font-weight:normal">I can&#39;t solve this problem alone</span>.</font><br>




</h3>In fs_cli i can see DEBUG messages:<br>freeswitch@internal&gt; skypopen sk1 GET USERSTATUS<br>Using interface: globals.SKYPOPEN_INTERFACES[1].name=|||sk1|||<br><br>2013-02-04 15:31:44.565590 [DEBUG] skypopen_protocol.c:1732    [|] [DEBUG_SKYPE  1732 ][sk1            ][IDLE,IDLE] SENDING: |||GET USERSTATUS||||<br>




2013-02-04 15:31:44.565590 [DEBUG] skypopen_protocol.c:207     [|] [DEBUG_SKYPE  207  ][sk1            ][IDLE,IDLE] READING: |||USERSTATUS ONLINE|||<br><br>But when i execute perl script i can&#39;t see them:<br>#perl /home/<a href="http://checker.pl" target="_blank">checker.pl</a><br>




Using interface: globals.SKYPOPEN_INTERFACES[1].name=|||sk1|||<br><br>#cat /home/<a href="http://checker.pl" target="_blank">checker.pl</a><div><br>#!/usr/bin/perl<br>use strict;<br>use warnings;<br>require ESL;<br>

</div>#ESL::eslSetLogLevel(7);<br>
<br>my $host = &quot;127.0.0.1&quot;;<br>my $port = &quot;8021&quot;;<br>my $pass = &quot;ClueCon&quot;;<div><br>my $con  = new ESL::ESLconnection($host, $port, $pass);<br><br>$con-&gt;api(&quot;console loglevel 9&quot;);<br>



</div>$con-&gt;api(&quot;fsctl loglevel 9&quot;);<div><br>
my $status = $con-&gt;api(&quot;skypopen sk1 GET USERSTATUS&quot;)-&gt;getBody();<br>print &quot;$status&quot;;<br>$con-&gt;disconnect()<br><br><br><br></div><div><div><div class="gmail_quote">2013/1/23 Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</span><br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Giovanni, I can see Skype API answers only when i using fs_cli. With perl script I can&#39;t see them.<div>
<div><br><br><div class="gmail_quote">2013/1/22 Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Jan 22, 2013 at 12:51 PM, Anton Vojlenko &lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt; wrote:<br>






&gt; Hello,<br>
&gt;<br>
&gt; I want to check user status from the Skype client instance, but I can&#39;t see<br>
&gt; Skype API answers from it. How to fix this?<br>
<br>
</div>Have you tried to give:<br>
<br>
&quot;fsctl loglevel 9&quot; in addition to &quot;console loglevel 9&quot; ?<br>
<div><br>
<br>
<br>
&gt; Script example:<br>
&gt;<br>
&gt; #!/usr/bin/perl<br>
&gt; use strict;<br>
&gt; use warnings;<br>
&gt; require ESL;<br>
&gt;<br>
&gt; my $host = &quot;localhost&quot;;<br>
&gt; my $port = &quot;8021&quot;;<br>
&gt; my $pass = &quot;somepass&quot;;<br>
&gt; my $con  = new ESL::ESLconnection($host, $port, $pass);<br>
&gt;<br>
&gt; $con-&gt;api(&quot;console loglevel 9&quot;);<br>
&gt; my $status = $con-&gt;api(&quot;skypopen sk1 GET USERSTATUS&quot;)-&gt;getBody();<br>
&gt; print $status;<br>
&gt; $con-&gt;disconnect();<br>
&gt;<br>
<br>
</div>--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : <a href="tel:%2B39-347-2665618" value="+393472665618" target="_blank">+39-347-2665618</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br>