adding log for local mode, change color