If you wan to use xlog just look into xlog's source. You'll find long
switch statement there listing all the available dual char codes.
Or see "grep -A 1 case xl_lib.c" result and use pattern:
%br - branch
%bR - branches, and so on
%C. are color switches.
case 'b':
case 'r':
e->itf = xl_get_branch;
case 'R':
e->itf = xl_get_branches;
case 'c':
case 'i':
e->itf = xl_get_callid;
case 's':
e->itf = xl_get_cseq;
case 't':
e->itf = xl_get_contact;
case 'C':
case 'x':
case 's': case 'r': case 'g':
case 'y': case 'b': case 'p':
case 'c': case 'w': case 'S':
case 'R': case 'G': case 'Y':
case 'B': case 'P': case 'C':
case 'W':
case 'x':
case 's': case 'r': case 'g':
case 'y': case 'b': case 'p':
case 'c': case 'w':
case 'd':
case 's':
e->itf = xl_get_dset;
case 'f':
case 'u':
e->itf = xl_get_from;
case 't':
e->itf = xl_get_from_tag;
case 'H':
case 'n':
e->hindex = XL_HOST_NAME;
case 'd':
e->hindex = XL_HOST_DOMAIN;
case 'f':
e->hindex = XL_HOST_FULL;
case 'i':
e->hindex = XL_HOST_IPADDR;
case 'm':
case 'b':
e->itf = xl_get_msg_buf;
case 'f':
e->itf = xl_get_flags;
case 'i':
e->itf = xl_get_msgid;
case 'l':
e->itf = xl_get_msg_len;
case 'x':
e->itf = xl_get_msgid;
case 'n':
case 'h':
e->itf = xl_get_nexthop;
case 'p':
case 'p':
e->itf = xl_get_pid;
case 'x':
e->itf = xl_get_pid;
case 'r':
case 'm':
e->itf = xl_get_method;
case 'u':
e->itf = xl_get_ruri;
case 's':
e->itf = xl_get_status;
case 'r':
e->itf = xl_get_reason;
case 't':
e->itf = xl_get_refer_to;
case 'R':
case 'i':
e->itf = xl_get_rcvip;
case 'p':
e->itf = xl_get_rcvport;
case 's':
case 'i':
e->itf = xl_get_srcip;
case 'p':
e->itf = xl_get_srcport;
case 't':
case 'u':
e->itf = xl_get_to;
case 't':
e->itf = xl_get_to_tag;
case 'T':
case 's':
e->itf = xl_get_times;
case 'f':
e->itf = xl_get_timef;
case 'x':
e->itf = xl_get_times;
case 'u':
case 'a':
e->itf = xl_get_useragent;
case 'q':
e->itf = xl_get_unique;
Michal
On Mon, Apr 10, 2006 at 05:40:15PM +0300, İlker Aktuna (
Koç.net) wrote:
Hi,
This surely helps a lot but XLOG uses 2 character variable names to write in logging. I
need those variable names and this document does not include them as far as I can see.
Thanks,
ilker