0.1.0 • Published 5 years ago

@gorlug/pouchdb-log-writer v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

@gorlug/pouchdb-log-writer

Write pouchdb logs to file

Usage

node build/main/index.js config.json

Example json config:

{                                                                                                                                                                                                                    
    "db": {                                                                                                                                                                                                          
        "host": "couchdb",                                                                                                                                                                                           
        "port": 5984,                                                                                                                                                                                                
        "dbName": "dev-log"                                                                                                                                                                                          
    },                                                                                                                                                                                                               
    "loggingUser": {                                                                                                                                                                                                 
        "username": "loggingUser",                                                                                                                                                                                   
        "password": "somepassword"                                                                                                                                                                                   
    },                                                                                                                                                                                                               
    "admin": {                                                                                                                                                                                                       
        "username": "admin",                                                                                                                                                                                         
        "password": "admin"                                                                                                                                                                                          
    },                                                                                                                                                                                                               
    "logger": {                                                                                                                                                                                                      
        "path": "/logs/pouchDBWrapper.log"                                                                                                                                                                           
    }                                                                                                                                                                                                                
}