Browse Source

Removed error message when logger not explicitly set; Driver will continue to use ConsoleLogger as default in such circumstances. (Allows for coding simple command-line processes without needing to explicitly code in Avalon ConsoleLoggers)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196806 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Glen Mazza 21 years ago
parent
commit
c4af88eb88
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/apps/Driver.java

+ 1
- 1
src/java/org/apache/fop/apps/Driver.java View File

@@ -323,8 +323,8 @@ public class Driver implements LogEnabled, FOTreeListener {
*/
protected Logger getLogger() {
if (this.log == null) {
// use ConsoleLogger as default when logger not explicitly set
this.log = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
this.log.error("Logger not set. Using ConsoleLogger as default.");
}

return this.log;

Loading…
Cancel
Save