File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Main (unreleased)
17
17
18
18
- A new ` loki.rules.kubernetes ` component that discovers ` PrometheusRule ` Kubernetes resources and loads them into a Loki Ruler instance. (@EStork09 )
19
19
20
+ ### Bugfixes
21
+
22
+ - Fix an issues where the logging config block would trigger an error when trying to send logs to components that were not running. (@wildum )
23
+
20
24
v0.40.0 (2024-02-27)
21
25
--------------------
22
26
Original file line number Diff line number Diff line change @@ -126,9 +126,9 @@ func (l *Logger) Update(o Options) error {
126
126
127
127
// Print out the buffered logs since we determined the log format already
128
128
for _ , bufferedLogChunk := range l .buffer {
129
- if err := slogadapter . GoKit ( l . handler ). Log ( bufferedLogChunk ... ); err != nil {
130
- return err
131
- }
129
+ // the buffered logs are currently only sent to the standard output
130
+ // because the components with the receivers are not running yet
131
+ slogadapter . GoKit ( l . handler ). Log ( bufferedLogChunk ... )
132
132
}
133
133
l .buffer = nil
134
134
You can’t perform that action at this time.
0 commit comments