Sure, are you wanting logs for unit tests or something? Then just define a
system
property to set inside the junit task
Jake
Friedbert Widmann wrote:
> Is it possible, to overwrite the path of the logfile with properties set
> within
> the project build file.
>
> Example: I want to
On Apr 30, 2008, at 10:58 AM, Britton, David wrote:
Robert Pepersack wrote:
Note that the second line isn't prefixed with the text
created by my subclass of PatternLayout.
How can I get all the output to be prefixed with the layout
that I specify? For example:
2008-04-30 08:59:01 [MyThread]
Robert Pepersack wrote:
> Note that the second line isn't prefixed with the text
> created by my subclass of PatternLayout.
>
> How can I get all the output to be prefixed with the layout
> that I specify? For example:
>
> 2008-04-30 08:59:01 [MyThread] DEBUG MyClass.myMethod(): 220
> Connected to
Michael - thank you very much - I will try out your suggestion and report
back.
Your solution to my request to configure without log4j.xml is definitely an
option I want to use.
Also, just for info, for anyone else out there just starting out with log4j,
I've done some more digging and found som
I'm logging the a message from a server that may span several lines. For
example:
220 Connected to server.
220 Connection will close if idle for more than 5 minutes.
When log4j prints this to my log file, the output looks like this:
2008-04-30 08:59:01 [MyThread] DEBUG MyClass.myMethod(): 220
Rob Davis-5 [mailto:[EMAIL PROTECTED] wrote:
> Hi, I'm looking at setting up a simple log4j setup to:
> 1) output logs to System.out.println (or the Eclipse console) when
> developing software
> 2) output to file(s) when the software is used in production
> 3) enableable/disableable at runtime -
Is it possible, to overwrite the path of the logfile with properties set within
the project build file.
Example: I want to define a target like the following:
reopen log4j logfiles
It defines a project specific directory for the