Codebase list libslf4j-java / run/c1aaf758-4507-45cc-a9c2-a788476d627c/main slf4j-migrator / LIMITATIONS.txt
run/c1aaf758-4507-45cc-a9c2-a788476d627c/main

Tree @run/c1aaf758-4507-45cc-a9c2-a788476d627c/main (Download .tar.gz)

LIMITATIONS.txt @run/c1aaf758-4507-45cc-a9c2-a788476d627c/mainraw · history · blame

The slf4j-migrator aims to 

General limitations
===================

- the FATAL level is not supported. 

  This is limitation is not deemed serious because there are usually
  very few log statements bearing the FATAL level. 


- if a method declares multiple loggers on the same line, the conversion will not be complete. Example:


  public void someMethod(Log l1, Log l2) {
   ...
  }

  will be converted as 

  public void someMethod(Log l1, Logger l2) {
   ...
  }


When migrating from log4j 
=========================

- Since NDC is not supported by SLF4J, the migrator cannot properly handle 
  NDC statements.
  
- Calls to PropertyConfigurator or DomConfigurator cannot be migrated since
  SLF4J the equivalents.