[Spce-user] lb log huge

Alex Lutay alutay at sipwise.com
Mon Feb 10 04:33:44 EST 2020

Hi all,

Just to share with CE community: modern releases (mr6.0+)
have a tool which helps to manipulate debug level for
all NGCP VoIP components:

> root at spce:~# ngcp-loglevel 
> Usage: /usr/sbin/ngcp-loglevel <ngcp-component> <options>
> Usage example: /usr/sbin/ngcp-loglevel all --get
>   ngcp-component:
>     lb              set/unset log level for lb log (default 1)
>     proxy           set/unset log level for proxy log (default 1)
>     sbc             set/unset log level for sbc (sems) log (default 2)
>     pbx             (PRO/CARRIER Only) set/unset log level for pbx (sems-pbx) log (default 2)
>     rtpengine       set/unset log level for rtpengine log (default 6)
>     all             set/unset log level for all the components
>   options:
>     --set-default   set default log level
>     --set-verbose   increase log level to verbose (for troubleshooting purpose)
>     --get           get current log level value
>     --disable       set all loglevels to 0
> root at spce:~# 

Have fun!

On 2/6/20 11:38 AM, qabane me wrote:
> thanks Walter that did the trick!
> On Thu, Feb 6, 2020 at 10:16 AM Walter Klomp <walter at myrepublic.net
> <mailto:walter at myrepublic.net>> wrote:
>     you should be able to set verbosity to 0. We typically only switch
>     on the logging when troubleshooting..
>     switch off the logging like this:
>     ngcp-kamctl lb fifo debug 0
>     (or 1 or 2 for verbose logging)
>     On Thu, Feb 6, 2020 at 4:05 PM qabane me
>     <qabaneitsolutions at gmail.com <mailto:qabaneitsolutions at gmail.com>>
>     wrote:
>         Hi all
>         My kamailio-lb log has started growing rapidly. I almost ran out
>         of space on our server the other day as the log had reached
>         20GB. Rotation is working fine, it starts at 0 but just grows to
>         a crazy size in one day. I am on MR4.5.12 (yes I know, need to
>         upgrade)
>         Is there a verbosity setting that I am overlooking somewhere
>         maybe? or is it normal to expect that kind of filesize?
>         Cheers


Alex Lutay

More information about the Spce-user mailing list