[Freeswitch-users] Help! No output to CLI with console_log() from script

Anthony Minessale anthony.minessale at gmail.com
Wed Oct 29 06:07:24 PDT 2008


fsctl loglevel is the global loglevel meaning when you change it it will
effect all logger modules it's a system level command.
console loglevel is mod_console's log level.  mod_console is a logger module
that sits on the console and filters which lines will
print on the screen based on level and some string matching params found in
its config.


On Wed, Oct 29, 2008 at 3:57 AM, <mszlazak at aol.com> wrote:

>
> Thanks for the pointer. The fsctl loglevel 7 didn't seem to work but
> console loglevel 7 did.
>
>
>  -----Original Message-----
> From: Matt Klein <mklein at nmedia.net>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Wed, 29 Oct 2008 1:28 am
> Subject: Re: [Freeswitch-users] Help! No output to CLI with console_log()
> from script
>
>
>
> You can enter fsctl loglevel 7 for debug output in the CLI.
>
>
>
> It looks like your configuration for the loglevel of CLI output is set too low.
>
> http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch#Increase_Debug_Output
>
>
>
> m
>
>
>
> On Wed, 29 Oct 2008, mszlazak at aol.com wrote:
>
>
> >
>
> > I changed console_log("Hello World!\n") to console_log("debug", "Hello
>
> World!\n") and that didn't work either. Finally, I got console_log("notice",
>
> "Hello World!\n") to output to the CLI.
>
> > Where is the output with "debug" going?
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: mszlazak at aol.com
>
> > To: freeswitch-users at lists.freeswitch.org
>
> > Sent: Tue, 28 Oct 2008 11:14 pm
>
> > Subject: [Freeswitch-users] Help! No output to CLI with console_log() from
>
> script
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > I'm trying to get output to my CLI in Windows XP when running this script by
>
> dialing 8337 but the output "Hello World!" doesn't show up. The rest works fine.
>
> >
>
> > What's wrong with console_log("Hello World!\n") ? Where has the output gone?
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > console_log("Hello World!\n");
>
> >
>
> >
>
> >
>
> > var languageCode = "en";
>
> >
>
> > var soundDir = "sound/";
>
> >
>
> >
>
> >
>
> > function playFile(fileName, callBack, callBackArgs)
>
> >
>
> > {
>
> >
>
> > ??? session.streamFile(soundDir + languageCode +? "/" + fileName);
>
> >
>
> > }
>
> >
>
> >
>
> >
>
> > session.answer();
>
> >
>
> > playFile("HelloWorld.wav");
>
> >
>
> > exit();
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > McCain or Obama? Stay updated on coverage of the Presidential race while you
>
> browse - Download Now!
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > _______________________________________________
>
> > Freeswitch-users mailing list
>
> > Freeswitch-users at lists.freeswitch.org
>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>
> > http://www.freeswitch.org
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
>
> _______________________________________________
>
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> ------------------------------
> McCain or Obama? Stay updated on coverage of the Presidential race while
> you browse - Download Now!<http://pr.atwola.com/promoclk/100000075x1211139166x1200680084/aol?redir=http://toolbar.aol.com/elections/download.html?ncid=emlweusdown00000002>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081029/bcae83fc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list