azure-vm-agents-plugin icon indicating copy to clipboard operation
azure-vm-agents-plugin copied to clipboard

Limit getAzureAgentTemplate log spam

Open shanep2300 opened this issue 1 year ago • 3 comments
trafficstars

What feature do you want to see added?

Some times very hard to follow the logs as this just takes up a lot of the output. Currently have it set to FINE, but some FINE logs are needed. Have it output every 5-10 minutes? Seems to be every 20-30s.

Upstream changes

No response

Are you interested in contributing this feature?

No response

shanep2300 avatar Jun 05 '24 14:06 shanep2300

Why do you need if left at FINE? FINE should be for temporary debugging you shouldn't need it all the time.

timja avatar Jun 05 '24 14:06 timja

We have around 15 templates. (Could be different for others) but that's around 30+ lines every 20-30s. Only reason I created this is that we're currently debugging an issue and most of the page is taken up by getAzureAgentTemplate. When done, we'll revert from FINE.

It's just the consistency of that output.

shanep2300 avatar Jun 05 '24 16:06 shanep2300

you're welcome to send a PR if it makes it easier for you to debug.

timja avatar Jun 05 '24 19:06 timja