<commit_before>var app = require('./lib/server');
var logger = require('winston');
var checkEnv = require('check-env');

checkEnv(
  ['IRC_SERVER', 'BOT_NICK', 'CHANNEL_MAPPING', 'INCOMING_HOOK_URL', 'OUTGOING_HOOK_TOKEN']
);

if (process.env.NODE_ENV !== 'production') {
  logger.level = 'debug';
}

app.listen(app.get('port'), function() {
  logger.debug('Listening on port %d', app.get('port'));
});<commit_msg>Only output debug info when NODE_ENV='development'<commit_after>var checkEnv = require('check-env');

checkEnv(['CONFIG_FILE']);

var app = require('./lib/server');
var logger = require('winston');

if (process.env.NODE_ENV !== 'production') {
  logger.level = 'debug';
}

app.listen(app.get('port'), function() {
  logger.debug('Listening on port %d', app.get('port'));
});
{'fraction_non_alphanumeric': 0.20939086294416243, 'fraction_numerical': 0.0, 'mean_word_length': 6.108108108108108, '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': '2662613', 'n_tokens_mistral': 274, 'n_tokens_neox': 270, 'n_words': 54}