Ejemplo n.º 1
0
 /**
  * This method tries to create a dump of all active log files. For this to work you need a {@link
  * FileDumpHandler} attached to the root logger.
  */
 public static void dumpLogFiles() {
   File[] files = LogTools.getFilesThreadLocal();
   for (File file : files) {
     if (!file.exists()) {
       continue;
     }
     Logger.getLogger("").log(Level.WARNING, "dump " + file.getAbsolutePath(), file);
   }
 }
Ejemplo n.º 2
0
public class PACKAGE {
  public static final Logger Log = LogTools.getLogger(PACKAGE.class);
}