7ad9fcab625e9137b46c1689412349bad701f6fe
[debian/jabref.git] / debian / patches / 04_logger.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 04_logger.dpatch by  <gregor+debian@comodo.priv.at>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Logger.GLOBAL_LOGGER_NAME is to new for liblog4j1.2-java
6
7 @DPATCH@
8 diff -urNad jabref~/src/java/net/sf/jabref/Globals.java jabref/src/java/net/sf/jabref/Globals.java
9 --- jabref~/src/java/net/sf/jabref/Globals.java 2007-08-29 22:34:03.000000000 +0200
10 +++ jabref/src/java/net/sf/jabref/Globals.java  2007-08-29 23:13:39.000000000 +0200
11 @@ -153,7 +153,7 @@
12      public static final int NEWLINE_LENGTH = System.getProperty("line.separator").length();
13  
14      // Instantiate logger:
15 -    private static Logger logger = Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
16 +    private static Logger logger = Logger.getLogger("global");
17  
18      /**
19          * true if we have unix newlines