show_bug.cgi?id=35
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #1 from [EMAIL PROTECTED] 2007-01-10 21
show_bug.cgi?id=35
--- Comment #2 from [EMAIL PROTECTED] 2007-01-29 23:03 ---
Sebastian,
Would it be acceptable if instead of adding a new method to ILoggerFactory
(e.g. getRootLogger()), the currently existing method, namely
getLogger(String), was modified to return the root logger
show_bug.cgi?id=35
--- Comment #3 from [EMAIL PROTECTED] 2007-01-30 01:19 ---
Between "", "root", and "ROOT" my preference is a public constant named
ROOT_LOGGER or ROOT_NAME with the value "".
This would be compatible w/ java.util.logging, x4juli and Log4J.
Implementors of java.uti
show_bug.cgi?id=35
--- Comment #4 from [EMAIL PROTECTED] 2007-01-30 20:19 ---
Not quite. In log4j, the root logger is named "root", i.e.
Logger.getRootLogger().getName() returns the value "root". However,
the root logger cannot be retrieved by Logger.getLogger("root"). The
root logger
show_bug.cgi?id=35
--- Comment #5 from [EMAIL PROTECTED] 2007-01-30 22:48 ---
Fine with me.
The constant will be in which class?
--
Configure bugmail: userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the
show_bug.cgi?id=35
--- Comment #6 from [EMAIL PROTECTED] 2007-01-31 15:17 ---
OK. Great.
As for the ROOT_NAME constant, it could be placed in the org.slf4j.Logger
interface. Since this interface is shared by all SLF4J bindings, the same
constant would apply everywhere.
As an altern
show_bug.cgi?id=35
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution||FIXED
-
show_bug.cgi?id=35
--- Comment #8 from [EMAIL PROTECTED] 2007-03-02 20:02 ---
public interface ILoggerFactory {
* If the name parameter is equal to the string value "NULL" (case
insensitive),
* then the root logger of the underlying logging system is returned.
public Logge
show_bug.cgi?id=35
--- Comment #9 from [EMAIL PROTECTED] 2007-03-03 21:06 ---
Ooops. Fixed in SVN.
--
Configure bugmail: userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.