Hi ESB team,

Below is isContentAware() method for LogMediator. According to that any log
which does not have log level custom becomes content aware.

  public boolean isContentAware() {
      if (logLevel == CUSTOM) {
          for (MediatorProperty property : properties) {
              if (property.getExpression() != null &&
property.getExpression().isContentAware()) {
                  return true;
              }
          }
          return false;
      }
      return true;
  }

If so below log will also become content aware. IMO this is not a content
aware log, is it?

 <log>
    <property name="In-JSONtestInSequence" value="In-JSONtestInSequence"/>
 </log>

-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

Blog: http://udaraliyanage.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to