DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28237>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28237

[PATCH] Use the commons logging LogFactory also in Fop.java

           Summary: [PATCH] Use the commons logging LogFactory also in
                    Fop.java
           Product: Fop
           Version: 1.0dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Use the commons logging LogFactory also in Fop.java. Do not
set the log level, but let that be set by the log implementation's own
configuration.

For backwards compatibility retain the command line options -d and
--full-error-dump, -q and --quiet. These options create a hard-coded
SimpleLog instance with the appropriate log level set. For the -x
command line option, if debug logging is not enabled, create a
hard-coded SimpleLog instance with log level set to debug.

With this change the command line logger is also configured according
to the commons logging user preferences, and according to the user
preferences for the chosen log implementation, like many other loggers
in the system. This should be reflected in the instructions. The
command line logger is also used by the LM system.

Reply via email to