Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(logfile): use Warnf instead of Warn #1032

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VM-Ullr
Copy link

@VM-Ullr VM-Ullr commented Feb 14, 2024

Description of the issue

Encountered an error stating "not started with file state folder %s/.../logs/state" in a logstream.

Description of changes

Use Warnf that support %s instead of Warn

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

None, I just made sure the function is listed in telegraf documentation.
https://pkg.go.dev/github.com/influxdata/telegraf#Logger

@VM-Ullr VM-Ullr requested a review from a team as a code owner February 14, 2024 16:25
@VM-Ullr VM-Ullr changed the title fix(logfile): use Warnf instead of warn fix(logfile): use Warnf instead of Warn Feb 14, 2024
Copy link
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions bot added the Stale label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant