From 77368a713da1c3f4d4d33019491bbb78f3dccb4d Mon Sep 17 00:00:00 2001 From: "Olle E. Johansson" Date: Thu, 18 Dec 2014 08:22:01 +0100 Subject: [PATCH] xlog Minor README updates --- modules/xlog/README | 38 ++++++++++++++++----------------- modules/xlog/doc/xlog_admin.xml | 30 ++++++++++++-------------- 2 files changed, 33 insertions(+), 35 deletions(-) diff --git a/modules/xlog/README b/modules/xlog/README index 29b02c8d904..a7c35e99e60 100644 --- a/modules/xlog/README +++ b/modules/xlog/README @@ -86,8 +86,7 @@ Chapter 1. Admin Guide This module provides the possibility to print user formatted log or debug messages from Kamailio scripts, similar to the printf function. A C-style printf specifier is replaced with a part of the SIP request or - other variables from system. Section 2, "Implemented Specifiers" shows - what can be printed out. + other variables from system. 2. Implemented Specifiers @@ -97,7 +96,7 @@ Chapter 1. Admin Guide The most important changes from earlier versions of Kamailio are: * - '%' has been replaced by '$' - * - to print a header, use now $hdr(header_name[index]) instead of + * - to print a header, use $hdr(header_name[index]) instead of %{header_name[index]} * - to print an AVP, use now $avp([si]:avp_id[index]) instead of %{[si]:avp_id[index]} or $avp([$avp_alias[index]) instead of @@ -146,7 +145,8 @@ modparam("xlog", "buf_size", 8192) 4.2. force_color (integer) - When set to 1, forces color printing even if log_stderror=0. + When set to 1, forces color codes in log messages even if log_stderror + is set to 0. Default value is 0. @@ -157,8 +157,8 @@ modparam("xlog", "force_color", 0) 4.3. long_format (integer) - When set to 1, prints config file name in xlogl() and xdbgl() before - line number. + When set to 1, outputs the configuration file name in xlogl() and + xdbgl() before the line number. Default value is 0. @@ -169,7 +169,7 @@ modparam("xlog", "long_format", 1) 4.4. prefix (str) - Prefix to be printed before the log message. + Prefix to be output before the log message. Default value is "