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

functions: added 'log' which helps with debugging #624

Merged
merged 1 commit into from
May 23, 2024

Conversation

yarda
Copy link
Contributor

@yarda yarda commented Apr 11, 2024

E.g.:
[variables]
dummy=${f:log:${f:exec:uname}}

Logs the output of the 'uname' command to the TuneD log.

Also added more verbose debug output which can help with functions debugging. Enable with 'tuned -D'.

@yarda yarda requested a review from zacikpa April 11, 2024 16:55
Copy link
Contributor

@zacikpa zacikpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is quite handy.

Looks good to me, except for the unused os import.

E.g.:
[variables]
dummy=${f:log:${f:exec:uname}}

Logs the output of the 'uname' command to the TuneD log.

Also added more verbose debug output which can help with functions
debugging. Enable with 'tuned -D'.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
@yarda
Copy link
Contributor Author

yarda commented Apr 14, 2024

Thanks, it should be fixed now.

@yarda yarda merged commit b37d8ef into redhat-performance:master May 23, 2024
16 checks passed
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.

None yet

2 participants