diff options
author | Simon Pepping <spepping@apache.org> | 2005-09-17 12:30:25 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2005-09-17 12:30:25 +0000 |
commit | 4237c393b328ba96f2ded92240b40223c916303d (patch) | |
tree | c88d3af400a13c21bfec3f0d9ab76d5afc95b629 /src/java/org | |
parent | d2efda5aa0b1ed4a1175a8075892d59ffa183da2 (diff) | |
download | xmlgraphics-fop-4237c393b328ba96f2ded92240b40223c916303d.tar.gz xmlgraphics-fop-4237c393b328ba96f2ded92240b40223c916303d.zip |
Report area tree output mode.
Report that option -d fails for other than the command line logger.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289827 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index 65391d79f..7e7082e85 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -462,11 +462,16 @@ public class CommandLineOptions implements Constants { } private void setLogLevel(String level) { - // Set the evel for future loggers. + // Set the level for future loggers. LogFactory.getFactory().setAttribute("level", level); if (log instanceof CommandLineLogger) { // Set the level for the logger creates already. ((CommandLineLogger) log).setLogLevel(level); + } else { + log.warn("Setting the log level to debug probably failed."); + log.warn("Configure the log level using Java system properties,"); + log.warn("or use FOP's command line logger,"); + log.warn("which is the default on the command line."); } } @@ -821,6 +826,10 @@ public class CommandLineOptions implements Constants { log.info("svg"); log.info("output file: " + outfile.toString()); break; + case RENDER_XML: + log.info("area tree"); + log.info("output file: " + outfile.toString()); + break; default: log.info("unknown input type"); } |