Fixed logging issues in NCSS