support legeacy logging convention