Skip to content

Commit

Permalink
Consider log separation
Browse files Browse the repository at this point in the history
  • Loading branch information
eze210 committed Nov 26, 2024
1 parent 01a0f20 commit b159653
Show file tree
Hide file tree
Showing 2 changed files with 377 additions and 9 deletions.
16 changes: 7 additions & 9 deletions modules/grizzly/src/main/java/org/glassfish/grizzly/Grizzly.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,14 @@
package org.glassfish.grizzly;

import java.io.IOException;
import java.util.Properties;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.glassfish.grizzly.attributes.AttributeBuilder;
import java.io.InputStream;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.glassfish.grizzly.attributes.AttributeBuilder;
import org.slf4j.Logger;

/**
* Class contains information about Grizzly framework.
*
Expand All @@ -67,13 +65,13 @@ public class Grizzly {
private static final int minor;

private static boolean isTrackingThreadCache;

public static Logger logger(Class<?> clazz) {
return LoggerFactory.getLogger(clazz);
return logger(clazz.getName());
}

public static Logger logger(String name) {
return LoggerFactory.getLogger(name);
return MuleLoggerProvider.getLogger(name);
}

/** Reads version from properties and parses it. */
Expand Down
Loading

0 comments on commit b159653

Please sign in to comment.