e470cd62164991091fe637f9120cc081d5ec9086,p/helpers/log.py,Logger,Logger_1,#,18

Before Change


    logger.addHandler(ch)

    poseidon_logger = logging.getLogger("poseidon")
    poseidon_logger.setLevel(logging.INFO)
    poseidon_logger.propagate = False

    use_file_logger = True
    // ensure log file exists

After Change



    log_format = "[%(levelname)s] %(name)s - %(message)s"
    logging.basicConfig(
        level=level_int[controller["logger_level"].upper()], format=log_format)

    poseidon_logger = logging.getLogger("poseidon")
    logger = logging.getLogger("console")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: CyberReboot/poseidon
Commit Name: e470cd62164991091fe637f9120cc081d5ec9086
Time: 2018-12-06
Author: clewis@iqt.org
File Name: p/helpers/log.py
Class Name: Logger
Method Name: Logger_1


Project Name: RaRe-Technologies/gensim
Commit Name: 117d447087b2e9a36fda1279d837e045fefd1558
Time: 2018-02-08
Author: isakovuv@gmail.com
File Name: gensim/scripts/glove2word2vec.py
Class Name:
Method Name:


Project Name: RaRe-Technologies/gensim
Commit Name: 117d447087b2e9a36fda1279d837e045fefd1558
Time: 2018-02-08
Author: isakovuv@gmail.com
File Name: gensim/scripts/word2vec2tensor.py
Class Name:
Method Name:


Project Name: kengz/SLM-Lab
Commit Name: 4083cddb49ad60cbdb70fd3e2e1cabb4bcb08c45
Time: 2018-02-02
Author: kengzwl@gmail.com
File Name: slm_lab/lib/logger.py
Class Name:
Method Name: