-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
None
-
Affects Version/s: 7u25
-
Component/s: core-libs
-
generic
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
in fact this is not linked to any OS
A DESCRIPTION OF THE PROBLEM :
the " publish " method of FileHandler calls isLoggable(record) then calls super.publish(record) that also calls isLoggable(record)
now I have a subclass of FileHandler that overrides isLoggable(record) and yields false if any LogRecord has already been tested
so no record gets published!!!!
the double call to isLoggable should be eliminated
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
explained in the bug description
ADDITIONAL OS VERSION INFORMATION :
in fact this is not linked to any OS
A DESCRIPTION OF THE PROBLEM :
the " publish " method of FileHandler calls isLoggable(record) then calls super.publish(record) that also calls isLoggable(record)
now I have a subclass of FileHandler that overrides isLoggable(record) and yields false if any LogRecord has already been tested
so no record gets published!!!!
the double call to isLoggable should be eliminated
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
explained in the bug description