@gorlug/pouchdb-log-writer
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@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"                                                                                                                                                                           
    }                                                                                                                                                                                                                
}       

Readme

Keywords

none

Package Sidebar

Install

npm i @gorlug/pouchdb-log-writer

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

47.2 kB

Total Files

20

Last publish

Collaborators

  • gorlug