log to console by default