Syntax
<log body="[false,true]" category="[string]" level="[TRACE,DEBUG,INFO,WARN,ERROR,FATAL]" />
<log message="Path: ${path}" />
<log body="[false,true]" category="[string]" level="[TRACE,DEBUG,INFO,WARN,ERROR,FATAL]" />
<log message="Path: ${path}" />
Sample
<serviceProxy port="2000">
<request>
<log />
</request>
<target host="www.predic8.de" />
</serviceProxy><serviceProxy port="2000"> <request> <log /> </request> <target host="www.predic8.de" /> </serviceProxy>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| category | false | com.predic8.membrane.core.interceptor.LogInterceptor | Sets the category of the logged message. | Membrane |
| headerOnly | false | true | If set to true only the HTTP header will be logged. | - |
| level | false | INFO | Sets the log level. | WARN |