This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-27
Channels
- # announcements (10)
- # aws (11)
- # beginners (158)
- # calva (8)
- # cider (14)
- # clj-kondo (1)
- # cljsrn (1)
- # clojure (83)
- # clojure-europe (5)
- # clojure-italy (25)
- # clojure-nl (3)
- # clojure-spec (12)
- # clojure-uk (20)
- # clojurescript (72)
- # community-development (18)
- # core-async (4)
- # core-logic (19)
- # cursive (11)
- # datomic (21)
- # duct (6)
- # events (1)
- # figwheel-main (3)
- # fulcro (15)
- # ghostwheel (1)
- # jobs (1)
- # leiningen (16)
- # off-topic (45)
- # onyx (3)
- # pathom (7)
- # perun (1)
- # ring (3)
- # shadow-cljs (48)
- # spacemacs (10)
- # specter (1)
- # sql (24)
- # tools-deps (7)
- # vscode (7)
- # xtdb (14)
Hello
I'm curentilty using logback
for logging, what is the easiest path to get my logging into CloudWatch?
I see that there is many paths: log to file > file to cloudwatch, logback provider, slf4j provider ....
if you run in Docker, there's awslogs driver (comes with Docker) which can ship logs to Cloudwatch
if you run in EC2, there's Cloudwatch logs agent, which can ship logs to Cloudwatch: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/QuickStartEC2Instance.html
this is the case handled by awslogs driver (from user point of view, logging happens to stdout)
There are logback appenders that send logs to CloudWatch Logs, for example: https://github.com/dibog/cloudwatch-logback-appender