tuned icon indicating copy to clipboard operation
tuned copied to clipboard

Adding debug log for tuned-adm recommend command.

Open CZerta opened this issue 3 years ago • 1 comments

Resolves: rhbz#1645119

Signed-off-by: Jan Zerdik [email protected]

CZerta avatar Mar 14 '22 13:03 CZerta

After playing with it a bit I think tuned-adm -d recommend should write the debug on the console.

There are two scenarios:

  1. Daemon not running - in such case it should call profile_recommender and set it to use the tuned-adm logger
  2. Daemon running - in such case it should probably call the log_capture_start/end to get the debug messages from the daemon and display them on the console (and also keep them in the main tuned.log)

If you have different idea, please share.

yarda avatar Mar 15 '22 22:03 yarda