• Post Reply Bookmark Topic Watch Topic
  • New Topic

Design Question  RSS feed

 
ARS Kumar
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have to implement a Logger class. The code classes are availabe to me and I have to make them beans and deploy it on WebLogic App server.
The heirarchy is almost like this -
Logger interface - Logger abstract class and the implementaion
LoggerFileImpl - which implements the Logger to log messages into
a given File.
I thought of making the LoggerFileImpl as an entity bean with BMP so that I don't have to make it a database row. Other than that I can easily implement my own persistant mechanism ( in this case a disk file ).
Any suggestion and comments on this will be really helpful.
Regards
------------------
ARS Kumar
Sun Certified Programmer for Java 2 Platform.
 
trevershick
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would look at Log4J at www.apache.org.
It's very useful and extensible and you don't have to re-invent the wheel.
 
Nivedita Bijlani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at Protomatter Syslog for a good, clean and simple logger implementation (The whitepaper is on protomatter.sourceforge.net). It's really easy to implement. There's also an article in the Javaworld online magazine that discusses how Syslog compares with log4j. Hope this helps.
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nivedita,
What is the URL of that article on Java world website?
I can not find it.
Thanks a lot,
Sarah
 
Prabhu Vastrad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chek out:
http://www.javaworld.com/jw-04-2001/jw-0406-syslog.html http://www.javaworld.com/jw-11-2000/jw-1122-log4j-2.html
Originally posted by sarah Marsh:
Nivedita,
What is the URL of that article on Java world website?
I can not find it.
Thanks a lot,
Sarah

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!