fixed possible missing 0-termination
check return of nft_log_level_set(), limited sscanf input