Skip to content

Improve logging#633

Merged
jschwinger233 merged 5 commits intomainfrom
pr/brb/improve-log
Jan 1, 2026
Merged

Improve logging#633
jschwinger233 merged 5 commits intomainfrom
pr/brb/improve-log

Conversation

@brb
Copy link
Member

@brb brb commented Dec 30, 2025

See commit msgs.

brb added 5 commits December 30, 2025 13:31
Instead return error and make the callers to call the log.Fatal(). This
will help to facilitate upcoming unit testing.

Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
We will be able to use slog.Debug for some messages.

Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
Also, with log level debug, as not not everyone is interested in this
info, and it can be very verbose.

Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
So that there is no need to repeat os.Exit(1).

Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
@brb brb marked this pull request as ready for review December 31, 2025 09:23
@brb brb requested a review from a team as a code owner December 31, 2025 09:23
@brb brb mentioned this pull request Dec 31, 2025
@jschwinger233 jschwinger233 merged commit 683ba0d into main Jan 1, 2026
10 checks passed
@jschwinger233 jschwinger233 deleted the pr/brb/improve-log branch January 1, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants