<commit_before>'use strict';

//dependencies
var config = require('./config'),
    express = require('express'),
    mongoStore = require('connect-mongo')(express),
    http = require('http'),
    path = require('path'),
    helmet = require('helmet'),
    bicycle = require('bicycle'),
    db = require('bicycle/db'),
    webapi = require('./webapi'),
    api = require('./api'),
    bicycleAdmin = require('bicycle-admin');

//config bicycle apps
bicycle.use(require('bicycle-admin/config.js'));
bicycle.use(require('./config.js'));

//create express app
var app = express();
module.exports = app;

//setup the web server
app.server = http.createServer(app);
//setup the session store
app.sessionStore = new mongoStore({ url: config.db.opts.uri });

//init bicycle
bicycle.init(app);
app.bicycle = bicycle;

//init bicycle admin
bicycleAdmin.init(app);

var logger = require('bicycle/logger').getLogger('careco', __filename);<commit_msg>fix log category name<commit_after>'use strict';

//dependencies
var config = require('./config'),
    express = require('express'),
    mongoStore = require('connect-mongo')(express),
    http = require('http'),
    path = require('path'),
    helmet = require('helmet'),
    bicycle = require('bicycle'),
    db = require('bicycle/db'),
    webapi = require('./webapi'),
    api = require('./api'),
    bicycleAdmin = require('bicycle-admin');

//config bicycle apps
bicycle.use(require('bicycle-admin/config.js'));
bicycle.use(require('./config.js'));

//create express app
var app = express();
module.exports = app;

//setup the web server
app.server = http.createServer(app);
//setup the session store
app.sessionStore = new mongoStore({ url: config.db.opts.uri });

//init bicycle
bicycle.init(app);
app.bicycle = bicycle;

//init bicycle admin
bicycleAdmin.init(app);

var logger = require('bicycle/logger').getLogger(config.appName, __filename);
{'fraction_non_alphanumeric': 0.17600422832980972, 'fraction_numerical': 0.0, 'mean_word_length': 4.362606232294618, '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': '3493857', 'n_tokens_mistral': 598, 'n_tokens_neox': 593, 'n_words': 136}