configure the log to console handler

we require ~2.4 now as we use a new feature that was introduced in 2.4