<commit_before>'use strict';

/**
 * Module dependencies.
 */
var express     = require('express');
var fs          = require('fs');

/**
 * Main application entry file.
 * Please note that the order of loading is important.
 */

// Load Configurations
var config          = require('./config/config');
var winston         = require('./config/winston');
winston.info('Config:',config);

var db              = require('./config/sequelize');
var passport        = require('./config/passport');
var winston         = require('./config/winston');

var app = express();

//Initialize Express
require('./config/express')(app, passport);

//Start the app by listening on <port>
app.listen(config.PORT);
winston.info('Express app started on port ' + config.PORT);

//expose app
exports = module.exports = app;<commit_msg>improvements in printing config at startup<commit_after>'use strict';

/**
 * Module dependencies.
 */
var express     = require('express');
var fs          = require('fs');

/**
 * Main application entry file.
 * Please note that the order of loading is important.
 */

// Load Configurations
var config          = require('./config/config');
var db              = require('./config/sequelize');
var passport        = require('./config/passport');
var winston         = require('./config/winston');

winston.debug('Accepted Config:',config);

var app = express();

//Initialize Express
require('./config/express')(app, passport);

//Start the app by listening on <port>
app.listen(config.PORT);
winston.info('Express app started on port ' + config.PORT);

//expose app
exports = module.exports = app;
{'fraction_non_alphanumeric': 0.15427509293680297, 'fraction_numerical': 0.0, 'mean_word_length': 3.2057291666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '266506', 'n_tokens_mistral': 449, 'n_tokens_neox': 436, 'n_words': 136}