You can enable integration logging for individual channels. When you enable logging, you specify the logging level for the channel.
You can enable integration logging for file, HTTP, mail, message queue, TCP, and UDP channels.
Before enabling integration logging for a channel, you must enable integration logging for the system.
To enable integration logging for a channel:
- In NexJ System Admin Console, navigate to the Statistics page.
- In the Statistics list, expand the node for your NexJ application and then select .
- Navigate to the channel node that you want to enable logging for. For example, navigate to ExchangeEWSNotificationReceiver to enable logging for inbound Exchange notifications. Configuration options for the channel display in the details area.
- Beside Message log level in the details area, double-click in the Value column. A text entry field displays.
To specify the logging level for the channel, enter one of the following values and press Enter.
Value | Logging level | Description |
---|
-1 | Off | No logging |
0 | Fatal | No logging |
1 | Error | Detailed entry for each request where exception encountered |
2 | Warn | Detailed entry for requests that exceed the timeout value specified for the channel |
3 | Info | Summary entry for all requests |
4 | Debug | Summary entry for all requests |
5 | Dump | Detailed entry for all requests |
The logging level is updated for the channel.
You have enabled logging for the specified channel.
Next, you can retrieve logging information from the NexJ System Admin Console. For more information, see Filtering integration logs.