At 05:29 PM 3/6/2007, you wrote:
>You cannot log or add any other statement outside of a method. You will
>have to learn some more Java ;-)
>
I just looked back at his example. Indeed, it's not within a
method. I guess I just took for granted that logging was being done
inside a method becaus
You cannot log or add any other statement outside of a method. You will
have to learn some more Java ;-)
Regards Sebastian
Chris Chappell schrieb:
> Hi
>
> thanks to Jacob for the reply and tips.
>
> I have found that I can use logger.error("etc") as long as it is
> nested in a catch statement.
>
Quoting Chris Chappell <[EMAIL PROTECTED]>:
> Hi
>
> thanks to Jacob for the reply and tips.
>
> I have found that I can use logger.error("etc") as long as it is nested in a
> catch statement.
> If in "straight code" eclipse shows the error.
> I am not sure why this might be - examples on the net
Hi
thanks to Jacob for the reply and tips.
I have found that I can use logger.error("etc") as long as it is nested in a
catch statement.
If in "straight code" eclipse shows the error.
I am not sure why this might be - examples on the net show that it should be
poss.
However I only need to sh
According to the javadocs there isn't a way to print everything. You
must list every key.
On 3/6/07, Asif Mekrani <[EMAIL PROTECTED]> wrote:
Hi All,
How can i print all the parameter in the MDC. I try some thing like this in
my log4J file:
%X{parameterKey} and this gets print. but, when i wan
activateOptions()
On 3/6/07, erdem boz <[EMAIL PROTECTED]> wrote:
Thanks for quick reply.
Do you have any example code?
On 3/5/07, James Stauffer <[EMAIL PROTECTED]> wrote:
>
> There might be a call needed to initialize the appender.
>
> On 3/5/07, erdem boz <[EMAIL PROTECTED]> wrote:
> > Hello
Hi All,
How can i print all the parameter in the MDC. I try some thing like this in
my log4J file:
%X{parameterKey} and this gets print. but, when i want to print more than
one parameter how should it. can some body tell me the syntax.
Thanks in advance.
Smiles,
Asif