# WxLog4j2
**Repository Path**: mirrors_ibm/WxLog4j2
## Basic Information
- **Project Name**: WxLog4j2
- **Description**: Logging from webMethods IntegrationServer packages into custom logs using log4j2
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: 10.15
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-11-19
- **Last Updated**: 2026-07-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
WxLog4j2
Logging from webMethods IntegrationServer packages into custom logs using log4j2
Prerequisites
None
Installation
Normal deployment. The startup will create and write into a file ./logs/WxLog4j2.log
Usage
Create a file ./config/log4j2.xml like in WxLog4j2Demo:
```xml
```
You can simple use the predefined appender WxLog4j2RollingFile or any other appender Log4j2 is providing.
Invoke
wx.log4j2.pub:addLog4j2Configuration
from your package, e.g. from startup. It will register you log4j2.xml
Invoke
wx.log4j2.pub:log
from your code and log into your logfile by using the input "function" in order to define your Logger like "WxLog4j2Demo"
Tested Runtimes
IS 10.11
Disclaimer
IBM Public Repository Disclosure
All content in these repositories including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.