mcardle     2005/09/30 17:35:39 CEST

  Modified files:
    core/src/java/org/jahia/services/esi EsiService.java 
  Log:
  * added more debug info
  
  Revision  Changes    Path
  1.10      +4 -3      
jahia/core/src/java/org/jahia/services/esi/EsiService.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/esi/EsiService.java.diff?r1=1.9&r2=1.10&f=h
  
  
  
  Index: EsiService.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/java/org/jahia/services/esi/EsiService.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- EsiService.java   6 Sep 2005 15:37:01 -0000       1.9
  +++ EsiService.java   30 Sep 2005 15:35:39 -0000      1.10
  @@ -527,17 +527,18 @@
        * quick check to see if any content is waiting for invalidation
        */
       public boolean checkForAnyContentToInvalidate() {
  -        if (notempty_count > 0 && notempty_count > empty_count)
  +        if (notempty_count > 0 && notempty_count > empty_count)  {
                logger.warn("The majority of requests generate ESI 
invalidations.\n"
  -                     + "Probable cause 1: A Content object probably cannot 
be invalidated as it is not attached to a Template/Fragment."
  +                     + "Probable cause 1: A Content object probably cannot 
be invalidated as it is not attached to a Template/Fragment.\n"
                        + "Probable cause 2: Most of the requests rightfully 
generate an invalidation message, which is fine, so ignore this message."
                        + "\nctnsToInvalidate:"+printContents(ctnsToInvalidate)
                        + 
"\nctnListsToInvalidate:"+printContents(ctnListsToInvalidate)
                        + 
"\npagesToInvalidate:"+printContents(pagesToInvalidate)
                        + 
"\nfieldsToInvalidate:"+printContents(fieldsToInvalidate)
                        + 
"\naclGroupTemplatesToInvalidate:"+printContents(aclGroupTemplatesToInvalidate)
  +                     + "\ncheckForAnyContentToInvalidate : 
EMPTY["+empty_count+"] / NOT_EMPTY["+notempty_count+"]"
                );
  -
  +        }
           logger.debug("checkForAnyContentToInvalidate : 
EMPTY["+empty_count+"] / NOT_EMPTY["+notempty_count+"]");
   
           //TODO: Need to make sure no junk orphaned content stays in these 
lists
  

Reply via email to