[OpenSIPS-Users] Log problem

Miha miha at softnet.si
Mon Nov 19 17:28:13 CET 2012


Hi,

I am using centos. I have restarted syslog service
(/etc/init.d/syslog restart) which created me opensips.log.

But still it is empty.

On Mon, 19 Nov 2012 14:34:31 +0100
 Muhammad Shahzad <shaheryarkh at googlemail.com> wrote:
> you need restart syslog service. Under debian you can do
> this by,
> 
> service rsyslog restart
> 
> This will create log file as well.
> 
> Thank you.
> 
> 
> On Mon, Nov 19, 2012 at 1:44 PM, Miha <miha at softnet.si>
> wrote:
> 
> >  HI,
> >
> > here is my pastebin when I do opensips start:
> > http://pastebin.com/Z9hxrHB2
> >
> >
> > debug=6
> > log_stderror=yes
> > log_facility=LOG_LOCAL0
> >
> >
> > syslog.conf
> >
> >
> >
> > #opensips
> > local0.*
> > /var/log/opensips.log
> >
> >
> >
> > Still no luck:(
> >
> > I tried to cat massages, opensips.log but there is no
> opensips log.
> >
> > Br,
> > Miha
> >
> >
> > On 11/19/2012 12:35 PM, Saúl Ibarra Corretgé wrote:
> >
> > On Nov 19, 2012, at 12:26 PM, Miha wrote:
> >
> >
> >  Hi,
> >
> > my opensips.cfg:
> > debug=6
> > log_stderror=yes
> > log_facility=LOG_LOCAL0
> >
> > syslog.conf
> >
> > #opensips
> > local0.* -/var/log/opensips.log
> >
> >
> > Where could be a poroblem that opensips does not log?
> > Opensips.log is empty.
> >
> >
> >  Remove that '-' from the syslog.conf line, that
> prevents the matching entries from going there. It should
> look like this:
> >
> > #opensips
> > local0.* /var/log/opensips.log
> >
> >
> > Regards,
> >
> > PS: This applies to rsyslog.
> >
> > --
> > Saúl Ibarra Corretgé
> > AG Projects
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing
>
listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> >
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> 
> 
> -- 
> Muhammad Shahzad
> -----------------------------------
> CISCO Rich Media Communication Specialist (CRMCS)
> CISCO Certified Network Associate (CCNA)
> Cell: +49 176 99 83 10 85
> MSN: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.com



More information about the Users mailing list