7585305 backend: add handler for logging into file in hitcounter scripts

3 files Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    backend: add handler for logging into file in hitcounter scripts
    
    When configuring `filename` and `format` via `logging.basicConfig`,
    they are set just once. That is a problem, because we import from
    `copr_log_hitcounter.py` which is where they were set, and then
    changing those values in `copr-aws-s3-hitcounter` wouldn't work.