modify log-related signal slot connection.

error, info, debug are three levels now.