I am trying to implement a new logger factory to get around a problem I
posted earlier.
I am failing with a classcast exception on the statment below:
private ConversionLogger logger = (ConversionLogger)
ConversionLogger.getInstance(this.getClass());
The ConverstionLogger and ConversionLoogerFactory are based exactly on
the excamples in source.
After trying to figure out how to specify the factory in the properties
file, I came across an answer like below:
log4j.categoryFactory=com.ca.cleverpath.portal.migrate.importer.Conversi
onLoggerFactory.class
But I still get the classcast.
Can someone help on this?
thanks