only log some functions