Make it possible to do debug log filtered by env variable.
Simple implementation for now.