Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Logger - The name of a logger.
  • Parent Logger - The name of a parent logger.
  • Level - Allows to select level (threshold) from the drop-down menu. After you specify the level for a certain logger, a log request for that logger will only be enabled if its level is equal or higher to the logger’s one. If a given logger is not assigned a level, then it inherits one from its closest ancestor with an assigned level. See hierarchy of levels above.
  • Additivity - Allows to inherit all the appenders of the parent Logger if set as "True."

Example

Use the following procedure to enable logs to view HTTP headers and messages:

  1. In the Filter Loggers by field, enter wire and then click Containsorg.apache.synapse.transport.http.wire will be displayed under Logger.
  2. Change the level of this logger to DEBUG.
  3. Search for the org.apache.synapse.transport.http.headers logger and change the level to DEBUG.