[SR-Users] Ubuntu Moving LOG files

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 26 12:17:49 CET 2014


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.
>
> Configs look pretty much okay I guess.
>
>
> On Wed, Nov 26, 2014 at 4:07 PM, Massimo Varriale (IPZeta)
> <m.varriale at ipzeta.it <mailto:m.varriale at ipzeta.it>> wrote:
>
>     Hi, 
>     I'm trying to move Kamailio LOGS from syslog to kamailio.log into
>     another folder but on Ubuntu 14.04 it seems ignoring my settings.
>     All Logs are always saved in /var/log/syslog
>     How to move Kamailio Logs?
>
>
>     cat /etc/rsyslog.d/50-default.conf 
>     #  Default rules for rsyslog.
>     #
>     #For more information see rsyslog.conf(5) and /etc/rsyslog.conf
>
>     #
>     # First some standard log files.  Log by facility.
>     #
>     auth,authpriv.*/var/log/auth.log
>     *.*;auth,authpriv.none,local0.none-/var/log/syslog
>
>     #kamailio logs
>     local7.*                        -/var/log/kamailio/kamailio.log
>
>
>
>
>
>     /etc/kamailio/kamailio.cfg
>     log_facility=LOG_LOCAL7
>
>
>
>     Thank you so much
>     Max
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> -- 
> Regards
>
> M. Salman Zafar
> VoIP Professional
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141126/1deaf923/attachment.html>


More information about the sr-users mailing list