clean up logging of the NSF header