<commit_before>var configFile = process.env.CONFIG_123DONE || './config.json';
console.log('loading configuration File', configFile);  //eslint-disable-line no-console
module.exports = require(configFile);
<commit_msg>fix(config): be more verbose in log about what config is loaded<commit_after>var path = require('path');

var configTarget = process.env.CONFIG_123DONE || './config.json';
var configFile = path.resolve(__dirname, configTarget);

var now = '[' + new Date().toISOString() + ']';
console.log(now, 'loading configuration File', configFile); //eslint-disable-line no-console

var config = require(configFile);
console.log(now, 'config:', JSON.stringify(config, null, 2)); //eslint-disable-line no-console

module.exports = config;
{'fraction_non_alphanumeric': 0.15343203230148048, 'fraction_numerical': 0.009421265141318977, 'mean_word_length': 5.888888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6553298', 'n_tokens_mistral': 224, 'n_tokens_neox': 217, 'n_words': 56}