replacing None by unknown as a default value in order to avoid error in generating log msg because None is not a string