You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/identity-server/7.1.0/docs/deploy/monitor/monitor-logs.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,9 @@ appender.AUDIT_LOGFILE.filter.threshold.level = INFO
95
95
96
96
The log levels that can be configured are [listed below](#set-the-log4j-log-level).
97
97
98
+
!!! note "Audit log timestamp precision"
99
+
With Java 21 support in WSO2 Identity Server 7.1, the timestamps in audit logs (v2 version) can have nanosecond precision due to the Java upgrade. This change affects the `recordedAt` field in the audit log.
100
+
98
101
### Configure HTTP access logs
99
102
100
103
See [HTTP Access Logging]({{base_path}}/deploy/monitor/http-access-logging) for instructions on how to configure and use HTTP access logs.
Copy file name to clipboardExpand all lines: en/identity-server/7.2.0/docs/deploy/monitor/monitor-logs.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,9 @@ appender.AUDIT_LOGFILE.filter.threshold.level = INFO
95
95
96
96
The log levels that can be configured are [listed below](#set-the-log4j-log-level).
97
97
98
+
!!! note "Audit log timestamp precision"
99
+
With Java 21 support in WSO2 Identity Server 7.2, the timestamps in audit logs (v2 version) can have nanosecond precision due to the Java upgrade. This change affects the `recordedAt` field in the audit log.
100
+
98
101
### Configure HTTP access logs
99
102
100
103
See [HTTP Access Logging]({{base_path}}/deploy/monitor/http-access-logging) for instructions on how to configure and use HTTP access logs.
Copy file name to clipboardExpand all lines: en/identity-server/next/docs/deploy/monitor/monitor-logs.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,19 @@ appender.AUDIT_LOGFILE.filter.threshold.level = INFO
95
95
96
96
The log levels that can be configured are [listed below](#set-the-log4j-log-level).
97
97
98
+
#### Configure audit log timestamp precision
99
+
100
+
Starting from Java 21 support in WSO2 Identity Server, the timestamps in audit logs (v2 version) can have nanosecond precision due to the Java upgrade. This change affects the `recordedAt` field in the audit log.
101
+
102
+
To maintain microsecond precision and avoid this behavior change, add the following configuration to the `deployment.toml` file in `<IS_HOME>/repository/conf/`:
103
+
104
+
```toml
105
+
[log_mgt]
106
+
audit_log.truncate_to_microseconds = true
107
+
```
108
+
109
+
When this configuration is set to `true`, the timestamp values in audit logs are forcefully truncated to microsecond precision instead of nanosecond precision.
110
+
98
111
### Configure HTTP access logs
99
112
100
113
See [HTTP Access Logging]({{base_path}}/deploy/monitor/http-access-logging) for instructions on how to configure and use HTTP access logs.
0 commit comments