Metadata-Version: 1.0
Name: RequestLogs
Version: 0.1dev
Summary: UNKNOWN
Home-page: UNKNOWN
Author: dayski
Author-email: kapil@delhivery.com
License: The MIT License (MIT)
Description: # Requset Log Middleware
        
        Request log middleware to capture meta data associated with each user request into mongo database. The write acknowledgement at time of save to mongo is disabled to ensure there is minimum performance lag due to this middleware.
        
        Note: this is work in progress - expect bugs etc
        
        ## Requirements
        pymongo
        celery
        Mongo
        Tested on Django > 1.3
        
        ## Setup
        
        Fork from github and add the following to your settings file:
        
        * RLOG_APP_NAME = 'myapp'  # used to uniquely identify the collection
        * RLOG_MONGODB_URI = 'mongodb://127.0.0.1:27017/requestlogs_db?w=-1'
            mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
            refer: http://docs.mongodb.org/manual/reference/connection-string/
        
        * Add app 'requestlogs' to your INSTALLED_APPS
        * Add 'requestlogs.middleware.RequestLogMiddleware' to MIDDLEWARE_CLASSES after auth
        
        
        # ToDos
        
        * Add views to pull transactions by user
        * Add views to search transactions by user and datetime
        * Test cases
        * Add requirements file
        
Platform: UNKNOWN
