<html><body>
<p>Salut Ceki,<br>
Thanks for the info... but... :)<br>
<br>
one question tough, what about the dynamicity (sic? :)<br>
the code I see suggests the developer enters the variable at runtime into a List/Map<br>
if I want to be as 'detached as possible' from the code, is there a way log4j can setup variables or am I 'stuck' with system variable ?<br>
<br>
<font size="2" color="#808080" face="Verdana">Christophe Elek - Senior Software Analyst<br>
IBM Rational Serviceability Architect <br>
IBM Toronto Lab 8200 Warden Avenue, Markham, Ontario, L6G 1C7 <br>
Phone Number: (905) 413-3467 <br>
Email: celek@ca.ibm.com<br>
</font><u><font size="2" color="#0000FF" face="Verdana"><br>
</font></u><a href="http://w3.rchland.ibm.com/projects/process/swg/rational/serviceability/serviceability.shtml"><u><font size="2" color="#0000FF" face="Verdana">Rational Internal Serviceability Portal</font></u></a><font size="2" face="Verdana"><br>
&quot;Don't just fix the mistakes - fix whatever permitted the mistake in the first place.&quot; Charles Fishman </font><font size="4"><br>
</font><hr width="100%" size="2" align="left"><img src="cid:1__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" width="211" height="21"><font size="2" color="#808080" face="Verdana"><br>
Web:<a href="http://www.ibm.com/software/rational/">http://www.ibm.com/software/rational/</a> </font><hr width="100%" size="2" align="left"><br>
<br>
<img width="16" height="16" src="cid:2__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt="Inactive hide details for Ceki Gulcu ---04/27/2009 09:19:04 AM---Hello Christophe,"><font color="#424282">Ceki Gulcu ---04/27/2009 09:19:04 AM---Hello Christophe,</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2">Ceki Gulcu &lt;ceki@qos.ch&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2">Log4J Users List &lt;log4j-user@logging.apache.org&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2">04/27/2009 09:19 AM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:3__=0ABBFF36DFDFC12F8f9e8a93df938@ca.ibm.com" border="0" alt=""><br>
<font size="2">Re: Setting up trace ony for a certain user</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>Hello Christophe,<br>
<br>
SiftingAppender is prefect for this type of separation. See<br>
</tt><tt><a href="http://logback.qos.ch/manual/appenders.html#SiftingAppender">http://logback.qos.ch/manual/appenders.html#SiftingAppender</a></tt><tt>&nbsp;for more<br>
information. If you intend to pursue this venue, please respond on the<br>
logback-user mailing list. Do not respond here.<br>
<br>
Christophe Elek wrote:<br>
&gt; Hello,<br>
&gt; I want to setup a trace only for a certain user.<br>
&gt; How could I 'kill two birds with one stone ' and do something like<br>
&gt; <br>
&gt; log4j.logger.com.company.authorization.trace=joe@company.com<br>
&gt; <br>
&gt; so this enables the trace and I now what user to trace for ... :)<br>
&gt; <br>
&gt; thoughts ?<br>
&gt; <br>
&gt; Christophe Elek - Senior Software Analyst<br>
&gt; IBM Rational Serviceability Architect<br>
<br>
-- <br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
</tt><tt><a href="http://logback.qos.ch">http://logback.qos.ch</a></tt><tt><br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org<br>
For additional commands, e-mail: log4j-user-help@logging.apache.org<br>
<br>
</tt><br>
<br>
</body></html>