Add logging support

We should consider adding support for logging to a file destination, since in "sidecar mode", logging to stdout might not reach the container logs unless the caller uses output stream redirection.

Edited by Matthias Käppler