Fixed logging failed as function name too long