Log info and debug to stdout and the rest to stderr if not to file