Fix setting redis url and log from settings.

It was just feeding GC with two unneeded environment variables before.