logger: support environment variables DDE_DEBUG_LEVEL and DDE_DEBUG_MATCH