NPE thrown when log.debug is not set

When system property log.debug is not set RedDeer crashes on NPE