Commit c374ac4
committed
tools: hv: Enable debug logs for hv_kvp_daemon
jira LE-3207
feature tools_hv
commit-author Shradha Gupta <shradhagupta@linux.microsoft.com>
commit a9c0b33
Allow the KVP daemon to log the KVP updates triggered in the VM
with a new debug flag(-d).
When the daemon is started with this flag, it logs updates and debug
information in syslog with loglevel LOG_DEBUG. This information comes
in handy for debugging issues where the key-value pairs for certain
pools show mismatch/incorrect values.
The distro-vendors can further consume these changes and modify the
respective service files to redirect the logs to specific files as
needed.
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/1744715978-8185-1-git-send-email-shradhagupta@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1744715978-8185-1-git-send-email-shradhagupta@linux.microsoft.com>
(cherry picked from commit a9c0b33)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 11e6cfb commit c374ac4
1 file changed
+59
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
186 | 201 | | |
187 | 202 | | |
188 | 203 | | |
| |||
270 | 285 | | |
271 | 286 | | |
272 | 287 | | |
| 288 | + | |
| 289 | + | |
273 | 290 | | |
274 | 291 | | |
275 | 292 | | |
| |||
297 | 314 | | |
298 | 315 | | |
299 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
300 | 320 | | |
301 | 321 | | |
302 | 322 | | |
| |||
315 | 335 | | |
316 | 336 | | |
317 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
318 | 343 | | |
319 | 344 | | |
320 | 345 | | |
321 | 346 | | |
322 | 347 | | |
323 | 348 | | |
324 | | - | |
325 | | - | |
326 | 349 | | |
| 350 | + | |
327 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
328 | 357 | | |
329 | 358 | | |
330 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
331 | 366 | | |
| 367 | + | |
332 | 368 | | |
333 | 369 | | |
334 | 370 | | |
| |||
348 | 384 | | |
349 | 385 | | |
350 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
351 | 390 | | |
352 | 391 | | |
353 | 392 | | |
| |||
359 | 398 | | |
360 | 399 | | |
361 | 400 | | |
362 | | - | |
| 401 | + | |
| 402 | + | |
363 | 403 | | |
| 404 | + | |
364 | 405 | | |
365 | 406 | | |
366 | 407 | | |
367 | 408 | | |
368 | 409 | | |
369 | 410 | | |
370 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
371 | 417 | | |
372 | 418 | | |
373 | 419 | | |
| |||
1661 | 1707 | | |
1662 | 1708 | | |
1663 | 1709 | | |
| 1710 | + | |
1664 | 1711 | | |
1665 | 1712 | | |
1666 | 1713 | | |
| |||
1682 | 1729 | | |
1683 | 1730 | | |
1684 | 1731 | | |
| 1732 | + | |
1685 | 1733 | | |
1686 | 1734 | | |
1687 | 1735 | | |
1688 | | - | |
| 1736 | + | |
1689 | 1737 | | |
1690 | 1738 | | |
1691 | 1739 | | |
| |||
1694 | 1742 | | |
1695 | 1743 | | |
1696 | 1744 | | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
1697 | 1748 | | |
1698 | 1749 | | |
1699 | 1750 | | |
| |||
1716 | 1767 | | |
1717 | 1768 | | |
1718 | 1769 | | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
1719 | 1773 | | |
1720 | 1774 | | |
1721 | 1775 | | |
| |||
0 commit comments