" /> How to hide Key-Value-Pairs in T-Server log - Genesys CTI User Forum

Author Topic: How to hide Key-Value-Pairs in T-Server log  (Read 3366 times)

Offline Wörsty

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • Homepage
How to hide Key-Value-Pairs in T-Server log
« on: March 14, 2008, 03:20:43 PM »
Advertisement
Hi, I would like to hide UserData in my T-Server log (Level: Debug)
using the following options and sections of my T-Server 7.5.001.04 but
the ISCCUserdatas are still readable ???

[log-filter]
default-filter-type=copy

[log-filter-data]
Kundenstammnummer=hide
PIN=hide
Personennummer=hide

[quote="T-Server Logfile"]@11:15:14.1636 [TCONF] Debug: Main application changed: DBID [109], name [TServer_Alcatel_A4400_750]
kvlist_filter: default filter set tp 'log-filter' type
log-filter: added key 'Kundenstammnummer' type 'hide' (3) into filter
log-filter: added key 'PIN' type 'hide' (3) into filter
log-filter: added key 'Personennummer' type 'hide' (3) into filter   

@11:13:31.3144 [ISCC] Trace: Received from server TServer_IVR_750@IVR/0/2/2: message ISCCRequestGetCallDataXferService
        ISCCAttributeUserData
           [b] 'Kundenstammnummer'     '1234567'
                'PIN'   '123456'
                'Personennummer'        '1234567'   [/b]         

@11:13:33.6900 [0] 7.5.001.04 distribute_event: message EventRouteRequest
        AttributeEventSequenceNumber    000000000003c045
        AttributeTimeinuSecs    690042
        AttributeTimeinSecs     1205489613 (11:13:33)
        AttributeExtensions     [141] 00 04 02 00..
                'GCTI_GLOB_CID' bin: 7F 50 DA 47.. (len=8)
                'GCTI_SUPERVISED_TRANSFER'      0
                'GCTI_NAT_INDICATIONTYPE'       'Public:National'
                'GCTI_NAT_INDICATION'   '0071126346236'
        AttributeNetworkCallID  7f50da4751b20100
        AttributeNetworkPartyRole       2
        AttributeNetworkDestDN  'A4400::9903'
        AttributeLastTransferOrigDN     '6101'
        AttributeLastTransferConnID     006c018cb06e5d7a
        AttributeLastTransferHomeLocation       'TServer_IVR_750@IVR'
        AttributeFirstTransferOrigDN    '6101'
        AttributeFirstTransferConnID    006c018cb06e5d7a
        AttributeFirstTransferHomeLocation      'TServer_IVR_750@IVR'
        AttributeANI    '0071126346236'
        AttributeDNIS   '7222'
        AttributeUserData       [71] 00 03 00 00..
           [b] 'Kundenstammnummer'     '****'
                'PIN'   '****'
                'Personennummer'        '****'      [/b]                                [/quote] I tried also the following option but it take no immediately effect.
(For the moment I can't restart the T-Server...)

[TServer]
log-trace-flag= ... -iscc ....
« Last Edit: March 14, 2008, 03:30:29 PM by Wörsty »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How to hide Key-Value-Pairs in T-Server log
« Reply #1 on: March 14, 2008, 04:03:35 PM »
Hey Wörsty,
Wo that avatar is the first one on ALU :D

It should work, have not tried on TServer 7.6 however.
On log-trace-flags try to put -udata.

According to documentation settings should apply inmediatly, no need to restart Tserver, however sometimes you will need to give it a little slap to go on.