Is there a reason why appending the strings doesn't work?  I think you
can use format messages.

On Wed, Mar 19, 2008 at 9:57 AM, dertown <[EMAIL PROTECTED]> wrote:
>
>  Hi Everyone
>
>  I am newbi with log4j ,  i was wondering if there is any example code on how
>  to add a custom variable to a log4j logging call.
>
>  the default is log.log("DEBUG","log message");
>
>  I would like to add another custom variable here to allow for some
>  additional information.
>
>  so the new log call will be log.log("DEBUG","log message","more info");
>
>  Thanks
>  Derek
>  --
>  View this message in context: 
> http://www.nabble.com/Adding-a-custom-variable-to-Log4j-logging-calls-tp16145549p16145549.html
>  Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
James A. N. Stauffer http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to