File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LogManager?

 
Daniel Prene
Ranch Hand
Posts: 241
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been reading alot of tutorials lately on different patterns... people keep refering to some sort of logger and I was wondering if anyone could point me in the right direction for that... I googled it but only references to the tutorials I've been reading come up... take a look at:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceToWorker.html

Thank you for atleast spending the time to read this,
-D.P.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably Log4J. Not specific to any technology like Servlets, JSP, EJB, or just J2SE, it can be used for all Java.

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In their particular case they implemented their own logger to store the logged messages so that it can then later be passed to a jsp page so you can see that there, although that is not necessary. Logging to a file can also let you see what was logged, or even just to the console.

It also states that the purpose of the logger is just for the example purposes.

It is not part of the design pattern.

Mark
 
dema rogatkin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filter is a thing doing logging pattern.
 
Daniel Prene
Ranch Hand
Posts: 241
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alright, cool. Thank you for the help! Any further suggustions? I've never found an example of all the components working together... just sections... like the controller, or the command, or the helper... any one have some code or tutorial they'd be so kind as to point me at that would show me everything together? Dispatcher and all... If not then that's alright too... Thanks again!

-D.P.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic