Unbounded generalization of logarithmic representation of infinitesimal generators