Hello dear friends,
I want to change asterisk log default path .
I change it from asterisk.conf file and below parameters:
astlogdir => /mnt/log/asterisk
And restart asterisk
But logs are still stored in /var/log/asterisk
The default asterisk.conf directories context is a config file template. This effectively makes the contents of the directories context a comment because that template is not used anywhere. If you remove the (!) from the end of the [directories](!) that will make it a normal context.
You will also need to restart asterisk for the change to take effect.