Send metrics to logger if agent is disabled

Send metrics to the agent's logger when the agent is not enabled.

This is really convenient when testing in a local development environment