Edit switch.conf.xml

Hi, I need edit the switch.conf.xml file. When I run a locate switch.conf.xml this is the result:

image

which is the correct one?

The one in /etc/freeswitch

I set /etc/freeswitch/autoload_configs/switch.conf.xml:
image

then restart de freeswitch service, but the loglevel is set in debug:

image

Am I doing something wrong?

Can you try this as well:

Numerical Values
0 “CONSOLE”,
1 “ALERT”,
2 “CRIT”,
3 “ERR”,
4 “WARNING”,
5 “NOTICE”,
6 “INFO”,
7 “DEBUG”

command:

console loglevel [0-7] (numerical value as above)
or
fsctl loglevel [0-7] (numerical value as above)

Yes I can do this. But I am trying to edit switch.conf.xml for future configuration, and this is not the file. And there is no documentation on this.

I think they mentioned before all the configurations are mostly done in the database

vars.xml
X-PRE-PROCESS cmd=“set” data=“console_loglevel=info”
Apply change here

1 Like