I'll have to take a look at log4J again. Did you imagine exposing a
method to access the logging functionality through the plug-in
context, or through some other mechanism?

The Sunburned Surveyor

On Tue, Sep 7, 2010 at 8:29 AM, Kevin Neufeld <kneuf...@refractions.net> wrote:
>  On 9/7/2010 7:38 AM, Sunburned Surveyor wrote:
>> Stefan,
>>
>> ... I have used Log4j before,
>> and it seemed a little complicated.
>
> I find the log4j.properties variant complicated as well.  But the
> log4j.xml [1] configuration variant I find fairly straight forward [2].
> I can include/exclude log messages from particular java packages and log
> priorities.
>
>> I wonder if just having the
>> ability to write messages to a simple plain-text log file would
>> suffice.
>>
>
> Which is one of many output appenders available to log4j :)  I agree,
> this is what I would recommend.  From user's perspective, one can submit
> the log file when posting a bug report.  We can even include a parameter
> in the JUMP launcher that would temporarily set the log priority to
> debug or even verbose to help with bug reports.
>
> My 2 cents,
> -- Kevin
>
>
> [1] http://wiki.apache.org/logging-log4j/Log4jXmlFormat
> [2] http://wiki.apache.org/logging-log4j/Log4jXmlFormat#Example_2
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to