AlgorithmFactory loggers
Issue #65
closed
org.jose4j.jwa.AlgorithmFactory instances create loggers this way
this.log = LoggerFactory.getLogger(getClass() + "->" + type.getSimpleName());
Class.toString():
public String toString() {
return (isInterface() ? "interface " : (isPrimitive() ? "" : "class "))
+ getName();
}
It would be better to follow loggers naming convention and prevent "class " prefix. For instance:
this.log = LoggerFactory.getLogger(getClass().getName() + "->" + type.getSimpleName());
Comments (4)
-
repo owner -
repo owner - changed status to resolved
fix
#65by calling getClass().getName() so that the "class " prefix is not on the logger names of AlgorithmFactory→ <<cset 6646fcf950a4>>
-
repo owner -
repo owner - changed status to closed
released with v0.5.1
- Log in to comment
Doh! You're right. Will fix.