koa-json-logger
koa-json-logger copied to clipboard
Log to API instead of disk
Hi It's possible to log (push) to an API instead of write to disk? I would like to log errors (400's and 500's) to AWS SNS, this is a simple API call
@rturk Hey Rafael ...
I'm taking a different approach to log shipping.
I log to disk, then ship the logs with FileBeat from Elasticsearch into an ELK stack.
I'm pretty sure Bunyan, the logger, can ship logs directly, but that's something you'll need to investigate more yourself.
+1 on this. would be nice to have the option to capture log messages and do something with them instead of being forced to log to disk