Skip to content

Commit

Permalink
default opensips.cfg: Explicitly set the "xlog_level"
Browse files Browse the repository at this point in the history
It is easy to forget about or be completely unaware of this recently
introduced setting (spring 2019), then start troubleshooting why some of
your xlog() statements are not working.

(cherry picked from commit 1f3e56f)
  • Loading branch information
liviuchircu committed Nov 5, 2020
1 parent a6fdb66 commit 01d89f9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions etc/opensips.cfg
Expand Up @@ -16,6 +16,7 @@
####### Global Parameters #########

log_level=3
xlog_level=3
log_stderror=no
log_facility=LOG_LOCAL0

Expand Down
1 change: 1 addition & 0 deletions menuconfig/configs/opensips_loadbalancer.m4
Expand Up @@ -16,6 +16,7 @@
####### Global Parameters #########

log_level=3
xlog_level=3
log_stderror=no
log_facility=LOG_LOCAL0

Expand Down
1 change: 1 addition & 0 deletions menuconfig/configs/opensips_residential.m4
Expand Up @@ -16,6 +16,7 @@
####### Global Parameters #########

log_level=3
xlog_level=3
log_stderror=no
log_facility=LOG_LOCAL0

Expand Down
1 change: 1 addition & 0 deletions menuconfig/configs/opensips_trunking.m4
Expand Up @@ -16,6 +16,7 @@
####### Global Parameters #########

log_level=3
xlog_level=3
log_stderror=no
log_facility=LOG_LOCAL0

Expand Down
2 changes: 1 addition & 1 deletion utils/vim/opensips.vim
Expand Up @@ -21,7 +21,7 @@ syn keyword osAction loadmodule modparam async launch
syn keyword specialOperand yes no true false enable disable on off NULL null
syn keyword specialOperand UDP TCP TLS SCTP WS WSS HEP_TCP HEP_UDP INET inet INET6 inet6

syn keyword osGlobalParam log_level memdump memlog log_stderror log_facility log_name
syn keyword osGlobalParam xlog_level log_level memdump memlog log_stderror log_facility log_name
syn keyword osGlobalParam debug_mode children auto_aliases listen mpath tcp_children
syn keyword osGlobalParam disable_tcp disable_tls check_via dns rev_dns
syn keyword osGlobalParam tcp_send_timeout tcp_connect_timeout tcp_no_new_conn_bflag
Expand Down

0 comments on commit 01d89f9

Please sign in to comment.