Sha256: 7c58c6726fe5ab5c7ac0fbeda86249dfccc5cc8c2fc64c5ea72f532b1bcb1ca7

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

# Sinatra app for viewing logs
require 'moped'
require 'mongo_request_logger/viewer'

config = {database: ENV['DB'] || 'request_logger_test', collection: 'server_log', capsize: 10}

MongoRequestLogger::Viewer.adapter = MongoRequestLogger::Adapters::Moped.new(config)

MongoRequestLogger::Viewer.run!

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo_request_logger-0.3.1 config.ru
mongo_request_logger-0.3.0 config.ru