Let me start by saying this is an Elastix 2.5 HA system. now that Elastix has abandoned Asterisk and its users the forum there is also pretty dead. I have access to the embedded FreePBX backend(2.11.0.38) I will eventual be moving to FreePBX but its complicated and expencive with the HA option and this is a decent sized system with lots of custom code. It will be a while before we can do a changeover.
what I am running into now is that the logs basically only show “notice” and “warning”. I am getting random reports of things like dropped calls and I need to know what happened (I already know its user error as its always the same people but I need to prove it).
I have always been able to go into logs on an asterisk server and its basically a line for line copy of the CLI. that is what I need and I cant seem to figure it out.
logger_logfiles_additional.conf
full => debug,error,notice,verbose,warning
console => debug,error,notice,verbose,warning
the free PBX GUI says the same thing. I have seen people say to change verbose to verbose(3) but it gets overwritten every time you reload asterisk.
normally I just watch the CLI if there is a problem but this only happens every couple days and they report it hours or days after it happens so my CLI buffer is long gone as this system gets 600 inbound a day not to mention paging and internal calls.
I dont need to do anything with the console it is doing everything perfect with verbosety set at 3. its just that the logs are very slim on info as they are only showing warning and notice and nothign else.
also, strangely enough, Dicko also did it as making a new log actually works as well. I have many clients on 2.5, I can’t believe I never ran into this. some system just run for years with no problems and some are plagued with problems(aka users)
after enditing safe_asterisk in wordpad from winscp I did get an error starting Asterisk
/bin/bash: /usr/sbin/safe_asterisk: /bin/sh^M: bad interpreter: No such file or directory
The firsts version of elx 2.5 , this issue doesn’t exist.
But one day, with an update (i guess in same time when the theme MT has been included), this issue is appeared in elx 2.5.
Same for elx 4.0 and even with a fresh install.
But if you make a fresh install with elx 2.5 without update, there’s no problem.