fsctl loglevel 8 
console loglevel 

now freeswitch.log is showing what i wanted but nothing on console, i am connected to ./fs_cli

in vars.conf.xml 

<X-PRE-PROCESS cmd="set" data="console_loglevel=info"/>

i think its nothing to do with that!

On Wed, Jul 15, 2009 at 6:51 PM, Brian West <brian@freeswitch.org> wrote:
fsctl loglevel xxx - controls core loglevel
console loglevel xxx - controls console loglevel

If you fsctl loglevel 0  you basically turn it of and console loglevel
8 won't work anymore because you turned it off in the core.

/b


On Jul 15, 2009, at 11:45 AM, Saeed Ahmad wrote:

> still a little confusion,
>
> what should be set in switch.conf.xml and console.conf.xml when
> system is in production and we only want to enable/disable logs on
> runtime. please also consider log files freeswitch.log &
> freeswitch.xml.fsxml, we don't want to log debug here.
>
> So main goal is without restarting FS we should be able to enable/
> disable logs on runtime (when logs are enabled then its ok to write
> logs in log files, but on disable it should stop writing) and
> everything on runtime.
>
> Thanks
> - Saeed
>