def prepare_log_config():
conf = testParams['<STR_LIT>']<EOL>pypet_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '<STR_LIT>'))<EOL>init_path = os.path.join(pypet_path, '<STR_LIT>')<EOL>if conf == '<STR_LIT:test>':<EOL><INDENT>conf_file = os.path.join(init_path, '<STR_LIT>')<EOL>conf_parser = handle_config_file(conf_file)<EOL>conf = conf_parser<EOL><DEDENT>elif conf == '<STR_LIT>':<EOL><INDENT>conf_file = os.path.join(init_path, '<STR_LIT>')<EOL>conf_parser = handle_config_file(conf_file)<EOL>conf = conf_parser<EOL><DEDENT>testParams['<STR_LIT>'] = conf<EOL>
Prepares the test logging init files and creates parsers.