Hi Guys, Is there a way of displaying a console message not related to a log level? I've got the console only reporting errors now, but it would be nice to be able to display a message when a given condition exists. Yes, I could set it as an error level message, but I'd rather not do that. Regards,
Is there a way of displaying a console message not related to a log level? I’ve got the console only reporting errors now, but it would be nice to be able to display a message when a given condition exists. Yes, I could set it as an error level message, but I’d rather not do that.
What is the condition? That will probably determine how you proceed. -MC
You should be able to do loglevel of console Mike On Feb 26, 2009, at 7:41 PM, Michael Collins <msc@freeswitch.org> wrote:
Is there a way of displaying a console message not related to a log level? I’ve got the console only reporting errors now, but it would be ni ce to be able to display a message when a given condition exists. Yes, I could set it as an error level message, but I’d rather not do that.
What is the condition? That will probably determine how you proceed. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You could use level "console" which will always print or use "err" or "crit". On Thu, Feb 26, 2009 at 4:55 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
Is there a way of displaying a console message not related to a log level? I’ve got the console only reporting errors now, but it would be nice to be able to display a message when a given condition exists. Yes, I could set it as an error level message, but I’d rather not do that.
Regards,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_log I'd set the log level to CONSOLE (0), then do: <action application="log" data="CONSOLE console text here"/> On Thu, Feb 26, 2009 at 4:55 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
Is there a way of displaying a console message not related to a log level? I’ve got the console only reporting errors now, but it would be nice to be able to display a message when a given condition exists. Yes, I could set it as an error level message, but I’d rather not do that.
Regards,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Addison Martin
-
Anthony Minessale
-
Michael Collins
-
Michael Jerris
-
Nik Middleton