Use only one env var for Python entry point
Replace logging functions with variadic macros