Re: [SR-Users] Ubuntu Moving LOG files

2014-11-28 Thread Daniel-Constantin Mierla
Hello, I think acc has its own log facility -- check the readme of the module. I guess it should be set to the core value if not explicitly set for the module. Cheers, Daniel On 27/11/14 13:13, Massimo Varriale (IPZeta) wrote: > Hi Daniel! > It's really a permission problem! > It's not relative

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Massimo Varriale (IPZeta)
Hi Daniel! It's really a permission problem! It's not relative to permission itself (could be also 777) but it's the owner of the custom folder that should be exactly that way: In my example the folder is >> /home/sip_logs/kamailio.log /home could be any user, in my system is owner root:root sip

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Daniel-Constantin Mierla
Hello, might be a permissions problem, can you try with kamailio log path being /var/log/kamailio.log? Cheers, Daniel On 27/11/14 11:49, Massimo Varriale (IPZeta) wrote: > Hi All! > I've edited rsyslog files adding local7.none and it's not yet working. > Of course restarting both kamailio and rs

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-27 Thread Massimo Varriale (IPZeta)
Hi All! I've edited rsyslog files adding local7.none and it's not yet working. Of course restarting both kamailio and rsyslogd What i have now is that I'm even trying to run the process as root but it's always writing logs into syslog and not in my custom folder log file. I've tried using LOG7 a

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-26 Thread Salman Zafar
Hi MV, You do have correct rights on the log file, if you are not running kamailio from root, right?. check if it is not log_stderror=no, or disk space or try directly adding in rsyslog.conf.. just random thoughts..if you have not managed to fixed it yet. On Wed, Nov 26, 2014 at 4:20 PM, Massi

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-26 Thread Massimo Varriale (IPZeta)
Hi Salman, yes, I've restarted several times the syslog process and also as I've applied several updates and make some network changes I've rebooted completely the server several times also from my config changes. However, logs are still written in syslog. I'm using 4.2.0 from packages, if this

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-26 Thread Daniel-Constantin Mierla
Hello, probably local7.none is needed in the line with /var/log/syslog as well, otherwise, the logs will be written two times, one in syslog and another one in kamailio.log. Cheers, Daniel On 26/11/14 12:13, Salman Zafar wrote: > Hi, > > Hoping you restarted (r)syslog service as well as kamailio

Re: [SR-Users] Ubuntu Moving LOG files

2014-11-26 Thread Salman Zafar
Hi, Hoping you restarted (r)syslog service as well as kamailio. Configs look pretty much okay I guess. On Wed, Nov 26, 2014 at 4:07 PM, Massimo Varriale (IPZeta) < m.varri...@ipzeta.it> wrote: > Hi, > I'm trying to move Kamailio LOGS from syslog to kamailio.log into another > folder but on Ubu