Skip to content

Commit 122d6ed

Browse files
committed
Add metric audit log configuration to readme
1 parent a383c63 commit 122d6ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Updated to MQ version 9.4.3.0
66
* Refactored the file permission logs to match the container logging format
7+
* Allow enabling audit logging of access to Prometheus metrics endpoint (enable audit logging by setting `MQ_LOGGING_METRICS_AUDIT_ENABLED=true`)
78

89
## 9.4.2.0 (2025-02)
910

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Note that in order to use the image, it is necessary to accept the terms of the
3131
- **MQ_LOGGING_CONSOLE_SOURCE** - Specifies a comma-separated list of sources for logs which are mirrored to the container's stdout. The valid values are "qmgr", "web" and "mqsc". Defaults to "qmgr,web".
3232
- **MQ_LOGGING_CONSOLE_FORMAT** - Changes the format of the logs which are printed on the container's stdout. Set to "json" to use JSON format (JSON object per line); set to "basic" to use a simple human-readable format. Defaults to "basic".
3333
- **MQ_LOGGING_CONSOLE_EXCLUDE_ID** - Excludes log messages with the specified ID. The log messages still appear in the log file on disk, but are excluded from the container's stdout. Defaults to "AMQ5041I,AMQ5052I,AMQ5051I,AMQ5037I,AMQ5975I".
34+
- **MQ_LOGGING_METRICS_AUDIT_ENABLED** - Set this to `true` to enable audit logging of access to the Prometheus metrics endpoint. Log output is to a JSON file in `/var/mqm/errors/`. Requires that `MQ_ENABLE_METRICS=true` is also set.
3435
- **MQ_ENABLE_METRICS** - Set this to `true` to generate Prometheus metrics for your Queue Manager.
3536

3637
See the [default developer configuration docs](docs/developer-config.md) for the extra environment variables supported by the MQ Advanced for Developers image.

0 commit comments

Comments
 (0)