I think it's necessary, because the log messages are not only printed on the console but also written into a logfile