• Philipp Winter's avatar
    Refactor logging and enable logging to file. · 52ac9c18
    Philipp Winter authored
    This commit adds the command line options "-o" and "--logfile" that
    enable logging to file.  This functionality required minor restructuring
    that led to a simplification of the logging code.  In particular:
    
    - We get rid of log.py because it was never really necessary.
    
    - We use named loggers, so it's easier to figure out what module logged
      a given message.
    
    - We rename our logging object from "logger" to "log" to make the code
      more readable.
    
    - The restructuring means that we now also get to see Stem's logging
      messages.
    52ac9c18