[kepler-dev] How-to log4j

Norbert Podhorszki pnorbert at ornl.gov
Wed Mar 18 10:01:39 PDT 2009


Ben,

Thanks, that helped (in debugging at development time).

Norbert


On 3/18/09 12:27 PM, "ben leinfelder" <leinfelder at nceas.ucsb.edu> wrote:

> I find that the log4j.properties file found in my highest-level module
> is used when I run Kepler. That would be:
> <module_name>/src/log4j.properties
> I guess that's loader/src/log4j.properties for the "kepler-trunk" suite.
> -ben
> 
> On Mar 18, 2009, at 8:59 AM, Christopher Brooks wrote:
> 
>> Hi Norbert,
>> Personally, I'd like to switch to the logging utilities that
>> now ship with Java, see
>> http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/
>> The advantage is that it would be one less jar file to ship.
>> A quick search finds 144 files that use the apache logging facility.
>> 
>> Notes about the logging system can be found at
>> https://kepler-project.org/developers/reference/using-commons-logging
>> 
>> I'm not sure if they are up to date though.  Let us know if you find
>> any differences or issues.
>> 
>> _Christopher
>> 
>> Norbert Podhorszki wrote:
>>> Hi,
>>> In the era of the old Kepler repository, there was a
>>> log4j.properties used
>>> to control which classes log what to file/console.
>>> Does this still exist in the new Kepler structure? How can I use it?
>>> Thanks
>>> Norbert
>>>  Norbert Podhorszki
>>>  ------------------------------------------
>>>  Scientific Computing Group
>>>  National Center for Computational Sciences
>>>  Oak Ridge National Laboratory
>>>  Phone: (865) 574-7159
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>> 
>> -- 
>> Christopher Brooks (cxh at eecs berkeley edu) University of California
>> CHESS Executive Director                      US Mail: 337 Cory Hall
>> Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
>> ph: 510.643.9841 fax:510.642.2718       (Office: 545Q Cory)
>> home: (F-Tu) 707.665.0131 (W-F) 510.655.5480
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> 



More information about the Kepler-dev mailing list