{"id":18278189,"url":"https://github.com/log4js-node/redis","last_synced_at":"2026-03-15T05:16:53.729Z","repository":{"id":39252982,"uuid":"135944343","full_name":"log4js-node/redis","owner":"log4js-node","description":"Redis appender for log4js-node","archived":false,"fork":false,"pushed_at":"2023-07-20T07:07:20.000Z","size":557,"stargazers_count":5,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T19:30:56.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/log4js-node.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-03T22:06:29.000Z","updated_at":"2024-07-12T04:59:11.000Z","dependencies_parsed_at":"2024-06-19T04:11:27.962Z","dependency_job_id":null,"html_url":"https://github.com/log4js-node/redis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/log4js-node","download_url":"https://codeload.github.com/log4js-node/redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289382,"owners_count":20914463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T12:23:25.043Z","updated_at":"2026-03-15T05:16:53.691Z","avatar_url":"https://github.com/log4js-node.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Appender for log4js-node\n\nStores log events in a [Redis](https://redis.io) database. Plugin for log4js \u003e 2.x\n```bash\nnpm install @log4js-node/redis\n```\n\n## Configuration\n\n* `type` - `redis`\n* `host` - `string` (optional, defaults to `127.0.0.1`) - the location of the redis server\n* `port` - `integer` (optional, defaults to `6379`) - the port the redis server is listening on\n* `pass` - `string` (optional) - password to use when authenticating connection to redis\n* `channel` - `string` - the redis channel that log events will be published to\n* `layout` - `object` (optional, defaults to `messagePassThroughLayout`) - the layout to use for log events (see [layouts](layouts.md)).\n\nThe appender will use the Redis PUBLISH command to send the log event messages to the channel.\n\n## Example\n\n```javascript\nlog4js.configure({\n  appenders: {\n    redis: { type: '@log4js-node/redis', channel: 'logs' }\n  },\n  categories: { default: { appenders: ['redis'], level: 'info' } }\n});\n```\n\nThis configuration will publish log messages to the `logs` channel on `127.0.0.1:6379`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog4js-node%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Fredis/lists"}