Closed logyball closed 10 months ago
As for logging, we are logging all metadata with the disk that is retrieved. I think this could be potentially useful, but I'm not sure we're using it. I'm not completely married to the idea, but I think it'll clean up the logs a bit. Happy to add it back in if it's useful, just not sure we're using it.
Perhaps we could hide this behind a -v
flag to enable verbose logging 🤔
One thing that I was thinking during the weekend was that if we include the metadata in the logs, we could use the groups feature of slog
, I think that would make the logging easier to understand. WDYT?
What
Why
Provider Id is grabbed via a switch statement in our exporter:
Which could be just stored on the provider itself, as we're already storing it in some way via the metadata. This makes it a bit easier to grab.
As for logging, we are logging all metadata with the disk that is retrieved. I think this could be potentially useful, but I'm not sure we're using it. I'm not completely married to the idea, but I think it'll clean up the logs a bit. Happy to add it back in if it's useful, just not sure we're using it.
Log output Before and After:
Before:
After: