'use strict';

var neuropil = require('neuropil');

module.exports = neuropil({
    logger: require('./logger'),

    username: 'kael2',
    password: 'blah-blah-bie',
    email: 'i@kael.me',

    port: 80,
    host: 'registry.npm.lc'
});
@@ -43,16 +43,47 @@
 ropil');
+%0Avar node_url = require('url');
 %0A%0Amodule
@@ -258,12 +258,593 @@
 .npm.lc'
+%0A%0A%7D).on('request', function(e) %7B%0A    this.logger.info(%0A        'CTX', %0A        this.logger.template('%7B%7Bmagenta method%7D%7D %7B%7Burl%7D%7D', %7B%0A            url     : e.safe_url,%0A            method  : e.method%0A        %7D) %0A    );%0A%0A%7D).on('response', function(e)%7B%0A    this.logger.info(%0A        'CTX',%0A        e.err ? '%7B%7Bred ' + (e.res.statusCode %7C%7C 'ERR') + '%7D%7D' : '%7B%7Bgreen ' + (e.res.statusCode %7C%7C 'OK!') + '%7D%7D',%0A        e.req.safe_url%0A    );%0A%0A    this.logger.debug(%0A        '%7B%7Bmagenta ' + e.req.method + '%7D%7D',%0A        node_url.parse(e.req.safe_url).pathname,%0A        e.err,%0A        e.body%0A    );
 %0A%7D);

add default setting of logger to test/neuropil