use LOG_DEBUG for log level greater than 2