[Freeswitch-users] howto master logging in fs_cli

Cavalera Claudio Luigi Claudio.Cavalera at italtel.it
Wed Mar 4 07:03:46 PST 2009


freeswitch-users-bounces at lists.freeswitch.org wrote:
> fsctl loglevel [xxx] tells the core to ignore log messages not at
> least that level. They wont get logged, you wont see them on the
> console and no events will be generated.
> 
> console loglevel [xxx] (on the "real" console) tells
> mod_console to do
> that filtering.
> /log [xxx] tells fs_cli to do the filtering.
> 
> It all depends where you filter it, if you want to change the
> logfile's level without affecting anything else, I recommand
> you edit
> logfile.conf.xml
> 
> Math


Ah ok, so it's better to keep switch.conf.xml to debug and then to
adjust the single sources to lower logging levels.
I have also put these lines in a rc.freeswitch script before starting
freeswitch
export SOFIA_DEBUG=9
export NUA_DEBUG=9
export NTA_DEBUG=9
export TPORT_DEBUG=9
export TPORT_LOG=1
becase I wanted to have all the sofia output redirected to a different
logfile but it does not work.

Instead if on any console I use fs_cli I see there the sofia stuff, how
does that work?

Thanks,
Claudio
Internet E. Mail Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. 

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. 




More information about the FreeSWITCH-users mailing list