Lines 27-32
Link Here
|
27 |
import org.apache.log4j.spi.RepositorySelector; |
27 |
import org.apache.log4j.spi.RepositorySelector; |
28 |
import org.apache.log4j.spi.RootLogger; |
28 |
import org.apache.log4j.spi.RootLogger; |
29 |
|
29 |
|
|
|
30 |
import java.net.URL; |
30 |
import java.util.Enumeration; |
31 |
import java.util.Enumeration; |
31 |
|
32 |
|
32 |
|
33 |
|
Lines 104-109
Link Here
|
104 |
Loader.getResource(Constants.DEFAULT_CONFIGURATION_FILE) != null) { |
105 |
Loader.getResource(Constants.DEFAULT_CONFIGURATION_FILE) != null) { |
105 |
configurationOptionStr = Constants.DEFAULT_CONFIGURATION_FILE; |
106 |
configurationOptionStr = Constants.DEFAULT_CONFIGURATION_FILE; |
106 |
} |
107 |
} |
|
|
108 |
if (configurationOptionStr == null) { |
109 |
URL url = Loader.getResource("."); |
110 |
System.err.println("no configuration files found in: \"" + url.getPath()+ "\""); |
111 |
} |
107 |
} |
112 |
} |
108 |
|
113 |
|
109 |
if(debug) { |
114 |
if(debug) { |