0 Replies Latest reply on Dec 1, 2008 8:34 PM by Ivan B

    getLog() returns null in EntityHome

    Ivan B Novice


      Can anyone suggest how to use logging in the following scenario?
      The problem is that getLog() returns null.


      public class PropertyOfferHome extends EntityHome<PropertyOffer> { 
          public PropertyOffer init() {
              PropertyOffer propertyOffer = getInstance();
              getLog().warn("propertyOffer's initCount: ", ++initCount);
              return propertyOffer;