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