Skip to content

Commit b1cc7c5

Browse files
Fix log file rotation bug (#41895)
Fix a bug where log files are rotated on startup when interval is configured and rotateonstartup is disabled. Closes: #41894 Relates: elastic/elastic-agent-libs#259
1 parent 83251ea commit b1cc7c5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
117117
- Remove unnecessary debug logs during idle connection teardown {issue}40824[40824]
118118
- Fix incorrect cloud provider identification in add_cloud_metadata processor using provider priority mechanism {pull}41636[41636]
119119
- Prevent panic if libbeat processors are loaded more than once. {issue}41475[41475] {pull}41857[51857]
120+
- Fix a bug where log files are rotated on startup when interval is configured and rotateonstartup is disabled {issue}41894[41894] {pull}41895[41895]
120121

121122
*Auditbeat*
122123

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13344,11 +13344,11 @@ SOFTWARE
1334413344

1334513345
--------------------------------------------------------------------------------
1334613346
Dependency : github.com/elastic/elastic-agent-libs
13347-
Version: v0.17.3
13347+
Version: v0.17.4
1334813348
Licence type (autodetected): Apache-2.0
1334913349
--------------------------------------------------------------------------------
1335013350

13351-
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.17.3/LICENSE:
13351+
Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-libs@v0.17.4/LICENSE:
1335213352

1335313353
Apache License
1335413354
Version 2.0, January 2004

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ require (
183183
github.com/elastic/bayeux v1.0.5
184184
github.com/elastic/ebpfevents v0.6.0
185185
github.com/elastic/elastic-agent-autodiscover v0.9.0
186-
github.com/elastic/elastic-agent-libs v0.17.3
186+
github.com/elastic/elastic-agent-libs v0.17.4
187187
github.com/elastic/elastic-agent-system-metrics v0.11.4
188188
github.com/elastic/go-elasticsearch/v8 v8.14.0
189189
github.com/elastic/go-quark v0.2.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ github.com/elastic/elastic-agent-autodiscover v0.9.0 h1:+iWIKh0u3e8I+CJa3FfWe9h0
335335
github.com/elastic/elastic-agent-autodiscover v0.9.0/go.mod h1:5iUxLHhVdaGSWYTveSwfJEY4RqPXTG13LPiFoxcpFd4=
336336
github.com/elastic/elastic-agent-client/v7 v7.15.0 h1:nDB7v8TBoNuD6IIzC3z7Q0y+7bMgXoT2DsHfolO2CHE=
337337
github.com/elastic/elastic-agent-client/v7 v7.15.0/go.mod h1:6h+f9QdIr3GO2ODC0Y8+aEXRwzbA5W4eV4dd/67z7nI=
338-
github.com/elastic/elastic-agent-libs v0.17.3 h1:q79P05dhQkc5REzieVkkD9oRKrnptKY4MC6Typ+d8bc=
339-
github.com/elastic/elastic-agent-libs v0.17.3/go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M=
338+
github.com/elastic/elastic-agent-libs v0.17.4 h1:kWK5Kn2EQjM97yHqbeXv+cFAIti4IiI9Qj8huM+lZzE=
339+
github.com/elastic/elastic-agent-libs v0.17.4/go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M=
340340
github.com/elastic/elastic-agent-system-metrics v0.11.4 h1:Z/8CML5RKvGpi6/QUFok1K3EriBAv2kUAXnsk8hCifk=
341341
github.com/elastic/elastic-agent-system-metrics v0.11.4/go.mod h1:TTW2ysv78uHBQ68hG8TXiaX1m6f29ZHgGWb8XONYsU8=
342342
github.com/elastic/elastic-transport-go/v8 v8.6.0 h1:Y2S/FBjx1LlCv5m6pWAF2kDJAHoSjSRSJCApolgfthA=

0 commit comments

Comments
 (0)