prevent multiple log handler declaration