Support environment variable control for CustomLog

I tried to test, refering to `CONTRIBUTING.md`. Though I failed `rake spec:system` spec.

Could you tell me if testing command changed?

Thanks.