mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
Fixed logging to JULI
Former-commit-id: 5f5d9b29a6ba76f9193d47aa485b11cadb47bb67
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
*/
|
||||
package org.owasp.dependencycheck.analyzer;
|
||||
|
||||
import org.mortbay.log.Log;
|
||||
import org.owasp.dependencycheck.analyzer.exception.AnalysisException;
|
||||
|
||||
import java.io.File;
|
||||
@@ -36,6 +35,8 @@ import org.owasp.dependencycheck.dependency.Dependency;
|
||||
import org.owasp.dependencycheck.dependency.Evidence;
|
||||
import org.owasp.dependencycheck.utils.Settings;
|
||||
|
||||
import com.sun.istack.internal.logging.Logger;
|
||||
|
||||
/**
|
||||
* Tests for the AssemblyAnalyzer.
|
||||
*
|
||||
@@ -43,6 +44,8 @@ import org.owasp.dependencycheck.utils.Settings;
|
||||
*
|
||||
*/
|
||||
public class AssemblyAnalyzerTest {
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(AssemblyAnalyzerTest.class);
|
||||
|
||||
AssemblyAnalyzer analyzer;
|
||||
|
||||
@@ -57,7 +60,7 @@ public class AssemblyAnalyzerTest {
|
||||
analyzer = new AssemblyAnalyzer();
|
||||
analyzer.initialize();
|
||||
} catch (Exception e) {
|
||||
Log.warn("Exception setting up AssemblyAnalyzer. Tests will be incomplete");
|
||||
LOGGER.warning("Exception setting up AssemblyAnalyzer. Tests will be incomplete", e);
|
||||
Assume.assumeNoException("Is mono installed? TESTS WILL BE INCOMPLETE", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user