[GLASSFISH-4422] use of LogRecord class throws an exception java.lang.Throwable: Logger name is null Created: 13/Mar/08  Updated: 06/Jan/11

Status: Open
Project: glassfish
Component/s: logging
Affects Version/s: 9.0pe
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: jdbenitez Assignee: dpatil
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 4,422


the use of LogRecord

LogRecord logr = new LogRecord(Level.WARNING, "WARNING");

throws this exception

Update error statistics failed
java.lang.Throwable: Logger name is null.
at java.util.logging.Logger.log(Logger.java:472)

and generates a log with name: null


logger.log(Level.WARNING, msg.toString()); of logger.warn(msg); works correctly,

Comment by jdbenitez [ 13/Mar/08 ]

correct text

Comment by harpreet [ 27/Mar/08 ]

Marking for 9.2 as this is not a critical issue.

Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Generated at Sat Oct 01 11:15:05 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.