fsctl loglevel is the global loglevel meaning when you change it it will effect all logger modules it's a system level command.<br>console loglevel is mod_console's log level. mod_console is a logger module that sits on the console and filters which lines will<br>
print on the screen based on level and some string matching params found in its config.<br><br><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 3:57 AM, <span dir="ltr"><<a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> <br>
<font face="Arial, Helvetica, sans-serif">Thanks for the pointer. The </font><tt><tt>fsctl loglevel 7 didn't seem to work but console loglevel 7 did.<br>
<br>
</tt></tt></div><div class="Ih2E3d">
<div> <br>
</div>
-----Original Message-----<br>
From: Matt Klein <<a href="mailto:mklein@nmedia.net" target="_blank">mklein@nmedia.net</a>><br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br></div><div><div></div><div class="Wj3C7c">
Sent: Wed, 29 Oct 2008 1:28 am<br>
Subject: Re: [Freeswitch-users] Help! No output to CLI with console_log() from script<br>
<br>
<div style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt><br>
You can enter fsctl loglevel 7 for debug output in the CLI.<br>
<br>
<br>
It looks like your configuration for the loglevel of CLI output is set too low.<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch#Increase_Debug_Output" target="_blank">http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch#Increase_Debug_Output</a><br>
<br>
<br>
m<br>
<br>
<br>
On Wed, 29 Oct 2008, <a href="mailto:mszlazak@aol.com" target="_blank">mszlazak@aol.com</a> wrote:<br>
<br>
><br>
> I changed console_log("Hello World!\n") to console_log("debug", "Hello <br>
World!\n") and that didn't work either. Finally, I got console_log("notice", <br>
"Hello World!\n") to output to the CLI.<br>
> Where is the output with "debug" going?<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:mszlazak@aol.com" target="_blank">mszlazak@aol.com</a><br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
> Sent: Tue, 28 Oct 2008 11:14 pm<br>
> Subject: [Freeswitch-users] Help! No output to CLI with console_log() from <br>
script<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> I'm trying to get output to my CLI in Windows XP when running this script by <br>
dialing 8337 but the output "Hello World!" doesn't show up. The rest works fine.<br>
><br>
> What's wrong with console_log("Hello World!\n") ? Where has the output gone?<br>
><br>
><br>
><br>
><br>
><br>
> console_log("Hello World!\n");<br>
><br>
><br>
><br>
> var languageCode = "en";<br>
><br>
> var soundDir = "sound/";<br>
><br>
><br>
><br>
> function playFile(fileName, callBack, callBackArgs)<br>
><br>
> {<br>
><br>
> ??? session.streamFile(soundDir + languageCode +? "/" + fileName);<br>
><br>
> }<br>
><br>
><br>
><br>
> session.answer();<br>
><br>
> playFile("HelloWorld.wav");<br>
><br>
> exit();<br>
><br>
><br>
><br>
><br>
><br>
> McCain or Obama? Stay updated on coverage of the Presidential race while you <br>
browse - Download Now!<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><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>
><br>
><br>
><br>
><br>
><br>
<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>
</tt></pre>
</div>
</div></div><div><br><font style="color: black; font-family: ARIAL,SAN-SERIF; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><hr style="margin-top: 10px;">
<div class="Ih2E3d">McCain or Obama? Stay updated on coverage of the Presidential race while you browse - <a href="http://pr.atwola.com/promoclk/100000075x1211139166x1200680084/aol?redir=http://toolbar.aol.com/elections/download.html?ncid=emlweusdown00000002" target="_blank">Download Now!</a></div>
</font> </div>
<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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>