{"id":18278190,"url":"https://github.com/log4js-node/hipchat","last_synced_at":"2025-04-09T04:38:37.413Z","repository":{"id":29964061,"uuid":"123339730","full_name":"log4js-node/hipchat","owner":"log4js-node","description":"Hipchat Appender for Log4JS","archived":false,"fork":false,"pushed_at":"2023-10-21T01:37:52.000Z","size":230,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T21:39:35.259Z","etag":null,"topics":["hipchat","hipchat-appender","hipchat-notifier"],"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-02-28T20:39:15.000Z","updated_at":"2024-07-12T04:56:02.000Z","dependencies_parsed_at":"2025-02-14T22:51:16.788Z","dependency_job_id":"c81c693b-85d1-4c1c-93c8-13bd70fa75bc","html_url":"https://github.com/log4js-node/hipchat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fhipchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fhipchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fhipchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Fhipchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/log4js-node","download_url":"https://codeload.github.com/log4js-node/hipchat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980830,"owners_count":21027803,"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":["hipchat","hipchat-appender","hipchat-notifier"],"created_at":"2024-11-05T12:23:25.098Z","updated_at":"2025-04-09T04:38:37.382Z","avatar_url":"https://github.com/log4js-node.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hipchat Appender for Log4JS\n\nThis is an optional appender for [log4js](https://log4js-node.github.io/log4js-node/).\n```bash\nnpm install @log4js-node/hipchat\n```\n\nThe hipchat appender will send every log message it receives to a [hipchat](http://www.hipchat.com) server, over HTTP. It uses the [hipchat-notifier](https://www.npmjs.com/package/hipchat-notifier) library. If you're not sure what some of the configuration options below mean, then check the documentation for hipchat-notifier, and the hipchat docs themselves.\n\n## Configuration\n\n* `type` - `@log4js-node/hipchat`\n* `hipchat_token` - `string` - User token with notification privileges\n* `hipchat_room` - `string` - Room ID or name\n* `hipchat_from` - `string` (optional, defaults to empty string) - a label to say where the message is from\n* `hipchat_notify` - `boolean` (optional, defaults to `false`) - make hipchat annoy people\n* `hipchat_host` - `string` (optional, defaults to `api.hipchat.com`) - set this if you have your own hipchat server\n* `hipchat_response_callback` - `function` (optional, defaults to only throwing errors) - implement this function if you want intercept the responses from hipchat\n* `layout` - (optional, defaults to `messagePassThroughLayout`)  - see [layouts](https://log4js-node.github.io/log4js-node/layouts.html)\n\n## Example (default config)\n\n```javascript\nlog4js.configure({\n  appenders: {\n    squawk: { type: '@log4js-node/hipchat', hipchat_token: 'abc123', hipchat_room: 'ops' }\n  },\n  categories: {\n    default: { appenders: ['squawk'], level: 'error'}\n  }\n});\n```\nThis will result in all error (and above) messages being sent to the hipchat room \"ops\".\n\n# Example (use all the options!)\n\n```javascript\nlog4js.configure({\n  appenders: {\n    squawk: {\n      type: '@log4js-node/hipchat',\n      hipchat_token: 'abc123',\n      hipchat_room: 'things_are_on_fire',\n      hipchat_from: 'Hal9000',\n      hipchat_notify: true,\n      hipchat_host: 'hipchat.yourorganisation.com',\n      hipchat_response_callback: function(err, response) {\n        console.log(\"I got a response from hipchat: \", response);\n      }\n    }\n  },\n  categories: {\n    default: { appenders: ['squawk'], level: 'info' }\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Fhipchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog4js-node%2Fhipchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Fhipchat/lists"}