Ignore:
Timestamp:
04/23/10 11:38:01 (10 years ago)
Author:
curtis
Message:

Fix up logging with Bio-Formats command line tools.
This removes the hard dependency on log4j in Bio-Formats, so it should be
possible to log with other logging frameworks via SLF4J now. There is also
a log4j configuration filein the tools folder now, which should make it easier
to configure output for debugging, stack traces, etc.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tools/log4j.properties

    r6167 r6182  
    33# 
    44 
    5 # A very simple log4j configuration. 
     5# A log4j configuration for the Bio-Formats command line tools. 
    66 
    77# By default, running various main methods in the codebase yields the error: 
     
    1515# And of course, you can edit this file to configure how output is produced. 
    1616 
    17 log4j.rootCategory=DEBUG, stdout 
     17log4j.rootCategory=INFO, stdout 
    1818log4j.appender.stdout=org.apache.log4j.ConsoleAppender 
    1919log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 
     20log4j.appender.stdout.layout.ConversionPattern=%m%n 
    2021#log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n 
Note: See TracChangeset for help on using the changeset viewer.