{"id":13671610,"url":"https://github.com/log4js-node/log4js-example","last_synced_at":"2026-03-10T16:32:42.502Z","repository":{"id":18261992,"uuid":"21420798","full_name":"log4js-node/log4js-example","owner":"log4js-node","description":"A full application that demonstrates how to configure log4js","archived":false,"fork":false,"pushed_at":"2020-04-15T03:05:07.000Z","size":7,"stargazers_count":141,"open_issues_count":4,"forks_count":114,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-12-20T12:47:34.368Z","etag":null,"topics":["javascript","log4js-node"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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}},"created_at":"2014-07-02T10:51:09.000Z","updated_at":"2025-08-28T19:19:59.000Z","dependencies_parsed_at":"2022-07-26T02:32:04.341Z","dependency_job_id":null,"html_url":"https://github.com/log4js-node/log4js-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/log4js-node/log4js-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Flog4js-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Flog4js-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Flog4js-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Flog4js-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/log4js-node","download_url":"https://codeload.github.com/log4js-node/log4js-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/log4js-node%2Flog4js-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30342180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","log4js-node"],"created_at":"2024-08-02T09:01:14.472Z","updated_at":"2026-03-10T16:32:42.475Z","avatar_url":"https://github.com/log4js-node.png","language":"JavaScript","readme":"log4js-example\n==============\n\nA full express application that demonstrates how to configure log4js for the most common use-case.\n\nTo run:\n```\nnpm install\nnpm start\n```\n\nLog config\n==========\nConfig file is in `config/log4js.json`. It defines three appenders that are children of the clustered appender. The clustered appender makes sure that only the master process writes to the log files, otherwise having multiple processes try to write at the same time will cause problems. Three log files are defined: `log/app.log` gets all the log messages and is configured to rotate when the file gets to 10Mb in size, keeping 3 backups of the file; `log/errors.log` uses the logLevelFilter to only get ERROR messages; `log/access.log` contains only the http request logs, using the connect-logger, and is configured to rotate every day.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Flog4js-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog4js-node%2Flog4js-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog4js-node%2Flog4js-example/lists"}