Creates a new logger, logging to the given file. If the file argument is
"-", then log to stdout; if it's "stderr" then we log to stderr,
otherwise we log to a regular file in append mode. The file is closed and
re-opened every 15 minutes to facilitate external log rotation.