Skip to content

Conversation

@migaman
Copy link

@migaman migaman commented Dec 31, 2020

The caused by is not sent to logdna currently. For example running in an exceeption like this:

Exception r = new RuntimeException("Some message");
throw new RuntimeException("Some other message", r);

should output

Exception in thread "main" java.lang.RuntimeException: Some other message
    at Exceptions.main(Exceptions.java:4)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.RuntimeException: Some message
    at Exceptions.main(Exceptions.java:3)
    ... 5 more

@robshep
Copy link
Owner

robshep commented Dec 31, 2020

Hi,

Apologies but as I'm no longer using LogDNA I can't spare the time to maintain this library.

You are welcome to run your own fork, however there is another similar library that is being maintained.

https://github.com/zileo-net/logback-logdna

I haven't used it though.

I should have put this notice on the main repo a while ago but LogDNA said they were taking the library in-house, so expected it to become redundant at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants