From 843d1486bc98c1378da666f3536d3d3dff322ee2 Mon Sep 17 00:00:00 2001 From: John Vines <123058+ohshazbot@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:37:23 -0500 Subject: [PATCH 1/3] Clarifying %L behavior https://github.com/moby/moby/issues/36796 --- content/manuals/engine/logging/drivers/awslogs.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/manuals/engine/logging/drivers/awslogs.md b/content/manuals/engine/logging/drivers/awslogs.md index 189b892f5fe2..dfb829d7499e 100644 --- a/content/manuals/engine/logging/drivers/awslogs.md +++ b/content/manuals/engine/logging/drivers/awslogs.md @@ -225,12 +225,18 @@ The following `strftime` codes are supported: | `%p` | AM or PM. | AM | | `%M` | Minute as a zero-padded decimal number. | 57 | | `%S` | Second as a zero-padded decimal number. | 04 | -| `%L` | Milliseconds as a zero-padded decimal number. | .123 | | `%f` | Microseconds as a zero-padded decimal number. | 000345 | | `%z` | UTC offset in the form +HHMM or -HHMM. | +1300 | | `%Z` | Time zone name. | PST | | `%j` | Day of the year as a zero-padded decimal number. | 363 | +In addition, the following non-`strftime` codes are supported: + +| Code | Meaning | Example | +| :--- | :--------------------------------------------------------------- | :------- | +| `%L` | Milliseconds as a zero-padded decimal number preceeded with a | .123 | +| | period. | | + ### awslogs-multiline-pattern The `awslogs-multiline-pattern` option defines a multi-line start pattern using a From ec7622a5d46708d94ffaee76c434fcd460ea4899 Mon Sep 17 00:00:00 2001 From: John Vines <123058+ohshazbot@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:50:01 -0500 Subject: [PATCH 2/3] Update awslogs.md --- content/manuals/engine/logging/drivers/awslogs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/engine/logging/drivers/awslogs.md b/content/manuals/engine/logging/drivers/awslogs.md index dfb829d7499e..c730d9b6a041 100644 --- a/content/manuals/engine/logging/drivers/awslogs.md +++ b/content/manuals/engine/logging/drivers/awslogs.md @@ -234,7 +234,7 @@ In addition, the following non-`strftime` codes are supported: | Code | Meaning | Example | | :--- | :--------------------------------------------------------------- | :------- | -| `%L` | Milliseconds as a zero-padded decimal number preceeded with a | .123 | +| `%L` | Milliseconds as a zero-padded decimal number preceded with a | .123 | | | period. | | ### awslogs-multiline-pattern From 52e0ebcbe91b94ab4ff00489fbc5e79e216c1b9e Mon Sep 17 00:00:00 2001 From: John Vines <123058+ohshazbot@users.noreply.github.com> Date: Thu, 29 Jan 2026 16:41:34 -0500 Subject: [PATCH 3/3] Tweaking new table --- content/manuals/engine/logging/drivers/awslogs.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/manuals/engine/logging/drivers/awslogs.md b/content/manuals/engine/logging/drivers/awslogs.md index c730d9b6a041..d68afb3498e0 100644 --- a/content/manuals/engine/logging/drivers/awslogs.md +++ b/content/manuals/engine/logging/drivers/awslogs.md @@ -232,10 +232,9 @@ The following `strftime` codes are supported: In addition, the following non-`strftime` codes are supported: -| Code | Meaning | Example | -| :--- | :--------------------------------------------------------------- | :------- | -| `%L` | Milliseconds as a zero-padded decimal number preceded with a | .123 | -| | period. | | +| Code | Meaning | Example | +| :--- | :------------------------------------------------------------------- | :------- | +| `%L` | Milliseconds as a zero-padded decimal number preceded with a period. | .123 | ### awslogs-multiline-pattern