Skip to content

Drop empty trace log for license detection in Kitfile generation - #1274

Open
amisevsk wants to merge 1 commit into
kitops-ml:mainfrom
amisevsk:kitinit-trace-logs
Open

amisevsk wants to merge 1 commit into
kitops-ml:mainfrom
amisevsk:kitinit-trace-logs

Conversation

@amisevsk

@amisevsk amisevsk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Description

Trace logging for the detected license type logs unconditionally, leading to mysteriously empty logs when a license cannot be determined (e.g. Detected license for license file). Instead, only log that trace line when a license has been found.

Linked issues

N/A, minor fixup

AI-Assisted Code

  • This PR contains AI-generated code that I have reviewed and tested
  • I take full responsibility for all code in this PR, regardless of how it was created

Trace logging for the detected license type logs unconditionally,
leading to mysteriously empty logs when a license cannot be determined
(e.g. `Detected license  for license file`). Instead, only log that
trace line when a license has been found.

Signed-off-by: Angel Misevski <amisevsk@gmail.com>
@amisevsk
amisevsk requested a review from gorkem September 2, 2026 18:36
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.

1 participant