{"_id":"@aftership/bunyan-redis","_rev":"8-21cf933ef4130dd4427ef7dc5723c6e8","name":"@aftership/bunyan-redis","description":"Bunyan redis transport","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@aftership/bunyan-redis","version":"1.0.0","description":"Bunyan redis transport","main":"index.js","dependencies":{"json-stringify-safe":"^5.0.0","redis":"^0.12.1","vasync":"^1.6.3"},"devDependencies":{"bunyan":"^1.1.3","lodash":"^2.4.1","mocha":"^1.21.4","must":"^0.12.0","redis-mock":"^0.3.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/AfterShip/bunyan-redis.git"},"keywords":["redis","bunyan","log"],"author":{"name":"Feiko Lai","email":"feiko@aftership.net"},"license":"MIT","bugs":{"url":"https://github.com/AfterShip/bunyan-redis/issues"},"homepage":"https://github.com/AfterShip/bunyan-redis","gitHead":"97e982b90a72703339a354d063ba10fbace82e40","_id":"@aftership/bunyan-redis@1.0.0","scripts":{},"_shasum":"95d36154de827c6c9530724f2d2ff73e111f182a","_from":".","_npmVersion":"2.10.1","_nodeVersion":"2.1.0","_npmUser":{"name":"aftership","email":"support@aftership.com"},"dist":{"shasum":"95d36154de827c6c9530724f2d2ff73e111f182a","tarball":"https://registry.npmjs.org/@aftership/bunyan-redis/-/bunyan-redis-1.0.0.tgz","integrity":"sha512-CDNzHka4/Up8I2RgI4iZnFCOpbIBiSiReHAurwxduOBEv8xUg282V4vNvWo6vENN9rxxQa/BwB2aPOeeHZXS1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5m1lKlYMzMAOd0lmHLNH01OP5Z9evAwxShLoGKvI27gIgCj1gZ58xEd/0w8UHM360AJncU/An2gCnejneGOpEWkU="}]},"maintainers":[{"name":"aftership","email":"support@aftership.com"}]},"1.0.1":{"name":"@aftership/bunyan-redis","version":"1.0.1","description":"Bunyan redis transport","main":"index.js","dependencies":{"json-stringify-safe":"^5.0.0","redis":"^0.12.1","vasync":"^1.6.3"},"devDependencies":{"bunyan":"^1.1.3","lodash":"^2.4.1","mocha":"^1.21.4","must":"^0.12.0","redis-mock":"^0.3.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/AfterShip/bunyan-redis.git"},"keywords":["redis","bunyan","log"],"author":{"name":"Feiko Lai","email":"feiko@aftership.net"},"license":"MIT","bugs":{"url":"https://github.com/AfterShip/bunyan-redis/issues"},"homepage":"https://github.com/AfterShip/bunyan-redis","gitHead":"97e982b90a72703339a354d063ba10fbace82e40","_id":"@aftership/bunyan-redis@1.0.1","scripts":{},"_shasum":"a8a3528e58b10a4e830e0ff694373da4a639a18c","_from":".","_npmVersion":"2.10.1","_nodeVersion":"2.1.0","_npmUser":{"name":"aftership","email":"support@aftership.com"},"dist":{"shasum":"a8a3528e58b10a4e830e0ff694373da4a639a18c","tarball":"https://registry.npmjs.org/@aftership/bunyan-redis/-/bunyan-redis-1.0.1.tgz","integrity":"sha512-zdprOYuprYDMS1eQYZE4eksb8agkO+Zaynq7flBwy5U4LlfiqVhbUzGsK8p97CsETLZ+xlCjqSxZetHLQECu9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICITa5odkw92vcOZWyOYMrY+phDZOQlne6jvb5PQgLukAiEA8HIuUZP/r37zN18i4cE61GLS44FlcN5xSPVHHjH/l74="}]},"maintainers":[{"name":"aftership","email":"support@aftership.com"}]},"1.0.2":{"name":"@aftership/bunyan-redis","version":"1.0.2","description":"Bunyan redis transport","main":"index.js","dependencies":{"json-stringify-safe":"^5.0.0","redis":"^0.12.1","vasync":"^1.6.3"},"devDependencies":{"bunyan":"^1.3.5","lodash":"^2.4.1","mocha":"^1.21.4","must":"^0.12.0","redis-mock":"^0.3.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/AfterShip/bunyan-redis.git"},"keywords":["redis","bunyan","log"],"author":{"name":"Feiko Lai","email":"feiko@aftership.net"},"license":"MIT","bugs":{"url":"https://github.com/AfterShip/bunyan-redis/issues"},"homepage":"https://github.com/AfterShip/bunyan-redis","gitHead":"97e982b90a72703339a354d063ba10fbace82e40","_id":"@aftership/bunyan-redis@1.0.2","scripts":{},"_shasum":"386f866301f38478628a3c1fac70d54fea71dffa","_from":".","_npmVersion":"2.10.1","_nodeVersion":"2.1.0","_npmUser":{"name":"aftership","email":"support@aftership.com"},"dist":{"shasum":"386f866301f38478628a3c1fac70d54fea71dffa","tarball":"https://registry.npmjs.org/@aftership/bunyan-redis/-/bunyan-redis-1.0.2.tgz","integrity":"sha512-Rs2oIsA149kpUVe1l4H5vsPq/g90ZzzTMh2zcRP+jZEokfN95pDlbjVfWha1Aef81B4v74O2YXLa9cyItSXQ5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbjjiMWaUtCjV30RtAAmtv/R9nBESy6beooFffP8EetAiEA4W+14Ok+rJSdVBpjlONgK7xpLgi/8L5m1Y09RcZW7yk="}]},"maintainers":[{"name":"aftership","email":"support@aftership.com"}]},"1.0.3":{"name":"@aftership/bunyan-redis","version":"1.0.3","description":"Bunyan redis transport","main":"index.js","dependencies":{"json-stringify-safe":"^5.0.0","vasync":"^1.6.3"},"repository":{"type":"git","url":"git+ssh://git@github.com/AfterShip/bunyan-redis.git"},"keywords":["redis","bunyan","log"],"author":{"name":"Feiko Lai","email":"feiko@aftership.net"},"license":"MIT","bugs":{"url":"https://github.com/AfterShip/bunyan-redis/issues"},"homepage":"https://github.com/AfterShip/bunyan-redis","gitHead":"4a8670e03ddee016c4456bf951bfd398a6a17b6c","_id":"@aftership/bunyan-redis@1.0.3","scripts":{},"_shasum":"ab9d90b297a19e1425a9c50d4c2b07b92132240b","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"aftership","email":"support@aftership.com"},"dist":{"shasum":"ab9d90b297a19e1425a9c50d4c2b07b92132240b","tarball":"https://registry.npmjs.org/@aftership/bunyan-redis/-/bunyan-redis-1.0.3.tgz","integrity":"sha512-FXzyQMPcTeSGChxvpICumUlpQUKxHSQitJvESefLeFQiFim8exmZTu6AE4GldCv3tbrLf1uXss7erg0Xh2x69Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzhS7TKeDxklrsPAcYtDW57+ZauBNxTOpYEqRVF41nkwIgeNsrJ3uvje8sP1Ogm/Qe/QJrkKZq3sQpIy4qIQ2dyek="}]},"maintainers":[{"name":"aftership","email":"support@aftership.com"},{"name":"aftership-dev","email":"teddy+dev@aftership.com"}]}},"readme":"bunyan-redis\n============\n\n### What's changed in this fork\n* reduced ops by reusing results from `push` command\n* optimized trimming by applied drop factor\n* only accept well-initialized redis-client\n\nInstallation\n========\n```bash\nnpm install @aftership/bunyan-redis\n```\n\nUsage\n========\n\nWith existing redis client connection.\n\n```javascript\nvar ioredis = require('ioredis');\nvar client = new ioredis({\n\tport: 6379,          // Redis port\n\thost: '127.0.0.1',   // Redis host\n\tdb:15\n});\nvar RedisTransport = require('../');\nvar bunyan = require('bunyan');\n\ntransport = new RedisTransport({\n\tcontainer: 'logs:foo',\n\tclient: client,\n\tdrop_factor: 0.25,\n\tlength:10,\n\tdiagnosis: true\n});\n\nlogger = bunyan.createLogger({\n\tname: 'name',\n\tstreams: [{\n\t\ttype: 'raw',\n\t\tlevel: 'trace',\n\t\tstream: transport\n\t}]\n});\n```\n\nAnd with connection data.\n\nOptions\n========\n* client - redis client instance\n* container - redis key\n* length: maximum size of log queue\n* drop_factor (optional): by which overflown logs are dropped, default = 0\n","maintainers":[{"email":"teddy+dev@aftership.com","name":"aftership-dev"},{"email":"support@aftership.com","name":"aftership"}],"time":{"modified":"2022-06-12T14:20:42.109Z","created":"2015-05-28T04:34:44.407Z","1.0.0":"2015-05-28T04:34:44.407Z","1.0.1":"2015-05-29T07:58:14.130Z","1.0.2":"2015-06-01T04:55:16.768Z","1.0.3":"2015-09-30T05:32:50.165Z"},"homepage":"https://github.com/AfterShip/bunyan-redis","keywords":["redis","bunyan","log"],"repository":{"type":"git","url":"git+ssh://git@github.com/AfterShip/bunyan-redis.git"},"author":{"name":"Feiko Lai","email":"feiko@aftership.net"},"bugs":{"url":"https://github.com/AfterShip/bunyan-redis/issues"},"license":"MIT","readmeFilename":"README.md"}