• David Johnson's avatar
    Separate the log stuff out, and add early-log-via-envvar. · 0539c9d7
    David Johnson authored
    Since the Applicable code logs as it is being used as a decorator as
    other files are being parsed, we need a logger before the command-line
    options are parsed.  And now, since multiple source files might setup
    the root logger, we ensure it only gets hooked up to the console once.
    Subsequent calls to configure_logging only affect the logging level.
    
    If you need early debug logging, set ELASTICSLICE_DEBUG to anything.
    
    Oh, and I changed the default log level to WARN, from INFO.
    0539c9d7
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
elasticslice Loading commit data...
etc Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...