Hi,
Can anyone suggest how to use logging in the following scenario?
The problem is that getLog() returns null.
Thanks,
@Name("propertyOfferHome") public class PropertyOfferHome extends EntityHome<PropertyOffer> { @Factory("propertyOffer") public PropertyOffer init() { PropertyOffer propertyOffer = getInstance(); getLog().warn("propertyOffer's initCount: ", ++initCount); return propertyOffer; }