[Freeswitch-users] howto master logging in fs_cli

Cavalera Claudio Luigi Claudio.Cavalera at italtel.it
Wed Mar 4 03:41:53 PST 2009


freeswitch-users-bounces at lists.freeswitch.org wrote:
> freeswitch-users-bounces at lists.freeswitch.org wrote:
>> Cavalera Claudio Luigi <Claudio.Cavalera at italtel.it> wrote:
>>> So could you please someone more expert with me clarify the
>>> difference between -d and -l options so that I can update the wiki
>>> which is now wrong/incomplete ?
>>> 
>>>   -l, --loglevel=command          Log Level
>>>   -q, --quiet                             Disable logging
>>>   -d, --debug=level               Debug Level (0 - 7)
>> 
>> The difference is that -d controls the level of debugging output
>> generated by fs_cli itself. The log level controls which log messages
>> from your running FreeSWITCH daemon are printed to the fs_cli
>> console. 


Could you please explain why if I issue this command in fs_cli:
"fsctl loglevel warning"
to lower the log level in output file freeswitch.log
but then I can't have level debug in fs_cli even if I re-set it with
"/log debug"

The fsctl loglevel (which I guess is the same as the global loglevel in
switch.conf.xml) must always be higher than loglevel in fs_cli?
If correct, is this true also for the console_loglevel ?

Thanks,
Claudio


Internet Email 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