OpenGrokLogger.java revision 1062
207N/A * See LICENSE.txt included in this distribution for the specific
207N/A * file and include the License file at LICENSE.txt.
207N/A@SuppressWarnings({"PMD.MoreThanOneLogger", "PMD.SystemPrintln", "PMD.AvoidThrowingRawExceptionTypes"})
207N/Apublic final class OpenGrokLogger {
207N/A if (h instanceof ConsoleHandler) {
207N/A return consoleLevel;
207N/A e.hasMoreElements();) {
207N/A h = l.getHandlers();
207N/A if (h instanceof FileHandler) {
207N/A if (h instanceof FileHandler) {
261N/A public static String setupLogger(String logpath, Level filelevel, Level consolelevel) throws IOException {
668N/A private static void clearForeignHandlers() {
668N/A e.hasMoreElements();) {
668N/A l.removeHandler(h[i]);
668N/A h = l.getHandlers();
668N/A private OpenGrokLogger() {