Timeline for Using Java log4j in Mathematica
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 4, 2015 at 15:07 | comment | added | Leonid Shifrin | @Murta Of course, the real reason why I used log4j in RLink is that I could append to the logger on both Mathematica and Java sides of RLink. If you only need Mathematica - side, you can simply use appending to a file. But for the hybrid Java / Mathematica apps, being able to use one and the same logger for both sides is important. The way you do this is to have a logger be a field of some Java class on the Java side, and then pass that instance to Mathematica. For RLink, the logger is a (static) field of RLinkInit class , accessed via RLinkInit`rlogger in Mathematica. | |
| Oct 4, 2015 at 13:11 | comment | added | Leonid Shifrin | @Murta Glad to help, as usual. Thanks for the accept! | |
| Oct 4, 2015 at 1:07 | vote | accept | Murta | ||
| Oct 4, 2015 at 1:07 | comment | added | Murta | Tks a lot! Works like a charm! +1 | |
| Oct 4, 2015 at 0:59 | history | answered | Leonid Shifrin | CC BY-SA 3.0 |