[Kamailio-Users] kamailio syslog logging

Alex Balashov abalashov at evaristesys.com
Wed Aug 19 17:23:21 CEST 2009


I am not sure if the 'debug' log actually produces statements typed DEBUG.

Try: local0.*   /var/log/kamailio.log

... and see if it makes any difference.  (Don't forget to restart 
syslogd first.  :-)

Jason Penton wrote:

> Hey Alex,
> 
> it looks like this:
> 
> local0.debug                            /var/log/kamailio.log
> 
> cheers
> Jason
> 
> On Wed, Aug 19, 2009 at 5:19 PM, Alex Balashov 
> <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>> wrote:
> 
>     I guess the answer depends on what your syslogd is configured to do
>     with LOG_LOCAL0 / does with it by default in the absence of an
>     explicit directive.
> 
>     I do not know what the answer is for Solaris.
> 
>     Jason Penton wrote:
> 
>         Hey Alex,
> 
>         see answers inline
> 
>         On Wed, Aug 19, 2009 at 4:42 PM, Alex Balashov
>         <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>
>         <mailto:abalashov at evaristesys.com
>         <mailto:abalashov at evaristesys.com>>> wrote:
> 
>            1) What log_facility is set at the top of the file?
> 
> 
>         LOCAL0
> 
> 
> 
>            2) What is log_stderror set to?
> 
>         =no
> 
> 
> 
>            3) What is the debug level (debug=?).
> 
>         =3
> 
> 
> 
>            4) Do you have any filters configured in your syslogd to divert
>            logging to whatever log_facility you have set to a special
>         log file?
> 
>         nope
> 
> 
> 
>            Jason Penton wrote:
> 
>                Hi All,
> 
>                I am having some problems logging Kamailio in debug mode
>         using
>                syslog. All is fine if I log to stderr. However, when I
>         log to
>                syslog I get a few dbug messages and then it stops -- I
>         dont get
>                any of my routing messages or anything????
> 
>                i am suing solaris?
> 
>                Any suggestions
> 
>                Cheers
>                Jason
> 
> 
>              
>          ------------------------------------------------------------------------
> 
>                _______________________________________________
>                Kamailio (OpenSER) - Users mailing list
>                Users at lists.kamailio.org
>         <mailto:Users at lists.kamailio.org>
>         <mailto:Users at lists.kamailio.org <mailto:Users at lists.kamailio.org>>
> 
>                http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>              
>          http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> 
> 
> 
>            --    Alex Balashov - Principal
>            Evariste Systems
>            Web     : http://www.evaristesys.com/
>            Tel     : (+1) (678) 954-0670
>            Direct  : (+1) (678) 954-0671
> 
> 
> 
> 
>     -- 
>     Alex Balashov - Principal
>     Evariste Systems
>     Web     : http://www.evaristesys.com/
>     Tel     : (+1) (678) 954-0670
>     Direct  : (+1) (678) 954-0671
> 
> 


-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671




More information about the sr-users mailing list