TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unified logging with Node JS and Syslog

32 pointsby fomojolaover 12 years ago

4 comments

michaelmiorover 12 years ago
You mentioned not using Winston because you liked to be able to see things on the console. Why not just change the configuration for development to dump to the console and to syslog in production?
评论 #4650784 未加载
saz_shover 12 years ago
Rsyslog has a file source module: imfile( <a href="http://www.rsyslog.com/doc/imfile.html" rel="nofollow">http://www.rsyslog.com/doc/imfile.html</a>). May help in some cases.<p>Saz
评论 #4649641 未加载
netvarunover 12 years ago
Thanks for the excellent write up. Out of curiousitt: Did you investigate other centralized solutions like graylog2 and logstash?
评论 #4650790 未加载
mathrawkaover 12 years ago
Seems like there is a lot of inventing the wheel.<p>Plus, if you want to put your logs in PaperTrail without using Ruby, there is this for winston: <a href="https://github.com/kenperkins/winston-papertrail" rel="nofollow">https://github.com/kenperkins/winston-papertrail</a>