https://issues.apache.org/bugzilla/show_bug.cgi?id=46941


Roger Tannous <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Roger Tannous <[email protected]>  2009-04-02 05:36:28 
PST ---
(In reply to comment #0)

The 'requirement' is modified (improved) as described below:


logger.referenceDescendingLevels=err,general_info,(connection_status,handshaking),deb

As you can see, we can put sets of levels into parentheses to indicate that we
wish the 'grouped levels' to be considered in the same 'logical level'.

For the example above, connection_status and handshaking both belong to the
same 'logical level' 2 (levels are 0 based in my implementation).

Of course, we can include more than one group of parentheses like in the below:

logger.referenceDescendingLevels=a,(b,c,d),e,(f,g),h,i

LEVEL     LOGICAL_LEVEL
a         0
b         1
c         1
d         1
e         2
f         3
g         3
h         4
i         5


Furthermore, we can include levels in "full format" into this config value, but
this has one drawback, continue reading...

logger.referenceDescendingLevels=a,b,(c,d),(e,e.1,e.2,e.3),e.4,e.5,f

Once e,e.1,e.2,e.3 are defined in 'logical level' 3, we are obliged to state
all other available levels belonging to the level named 'e' in "full format"
(currently: e.4 and e.5) to prevent them from being missed !

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to