Code Monkey home page Code Monkey logo

Comments (7)

axelfontaine avatar axelfontaine commented on August 19, 2024

What exactly are you trying to achieve? Is this just for sending application logs?

If that is the case, would something like this help: https://github.com/Bankmonitor/logback-appenders

What about Loggly, Logentries or Papertrail?

from cloudcaptain.

tomhughesnice avatar tomhughesnice commented on August 19, 2024

I want to keep everything wthin the Amazon ecosystem as much as possible,
so I wanted to try Cloudwatch before trying more familiar services like
Loggly.

Your github link provides the solution to this problem without having to
install an agent on your EC2 instance as Amazon suggests.

On Thu, 22 Oct 2015 at 16:12 Axel Fontaine [email protected] wrote:

What exactly are you trying to achieve? Is this just for sending
application logs?

If that is the case, would something like this help:
https://github.com/Bankmonitor/logback-appenders

What about Loggly, Logentries or Papertrail?


Reply to this email directly or view it on GitHub
#42 (comment)
.

from cloudcaptain.

forbode avatar forbode commented on August 19, 2024

I accomplished this using a Cloudwatch Logback appender similar to Bank Monitor. This is something that doesn't need to be a part of Boxfuse.

from cloudcaptain.

axelfontaine avatar axelfontaine commented on August 19, 2024

We have actually put quite a bit of thought into this over the last two months and really like the idea to add out of the box CloudWatch Logs support, including the ability to quickly view and correlate logs for all applications in a certain environment. We'll be detailing our plans soon and would love to hear your thoughts about them.

from cloudcaptain.

jtheuer avatar jtheuer commented on August 19, 2024

I'm usually a fan of putting as much logic as possible into the application since this is easier to customize and test. That is why we use slf4j + logback + logentries appender. This is great as long as "everything works" it however is not capable of capturing the hard crashes that go directly to STDERR, like OutOfMemoryError or JVM crashes. In this case it might be more clever to log to stdout and have a second process capturing stdout and stderr and forwarding it to whatever service you use.
Haven't seen any convincing solution, yet, so I'm curios about what you are going to build. I guess at the moment stdout/stderr would be visible in the console log which is at least available for a moment after instance termination.

from cloudcaptain.

forbode avatar forbode commented on August 19, 2024

I've since decided to convert my code to use the Boxfuse Cloudwatch feature (it's faster). However, I don't see documentation on how to convert existing applications to use this. Can someone point to it?
So far I've seen this:

https://boxfuse.com/blog/cloudwatch-logs

from cloudcaptain.

axelfontaine avatar axelfontaine commented on August 19, 2024

@forbode We have an open feature request for this: #117

Until this is implemented, feel free to send us the list of apps you want converted and we'll convert them for you.

from cloudcaptain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.