Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java程序分享区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
作者 Event logging framework
JiafanZhou



版主


发贴: 736
于 2007-09-03 23:31 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Does anybody know any event logging framework written in Java? Note that the event logging framework is different from those trace logging framework (e.g. log4j), I need and want a framework handles the system event logging into the database (e.g. one like Microsoft Event Viewer)

Regards,
Jiafan



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:Event logging framework [Re:HenryShanley]
JiafanZhou



版主


发贴: 736
于 2007-09-05 19:11 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Anybody knows that?


When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:Event logging framework [Re:HenryShanley]
JiafanZhou



版主


发贴: 736
于 2007-09-12 18:36 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
现在好象网上还没有一个Java的Event logging框架,欧最近在写HibernarteAppender来实现这个***能,等实现了会传上来滴。


When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:Event logging framework [Re:HenryShanley]
Cappuccino





发贴: 49
于 2007-09-14 04:09 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不怎么了解Event loggin{-_-;} 是值将logging 输出到system event里面?还是说logging按event分级?


作者 Re:Event logging framework [Re:HenryShanley]
JiafanZhou



版主


发贴: 736
于 2007-09-15 17:18 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Generally speaking, event logging should be persisted into the database or some sort of file so that next time an operator could easily load them back. See oh, I have run such a test last week. Unfortunately there is not such a framework exist on the Internet now written in JAVA to fulfill my need. The JDBCAppender with the Log4j is a deprecated API and will be replaced in the future and HibernateAppender does not even in Log4j package.

If you are using Windows, go the control panel, administrative tool, and see the event view, that will give you some idea.

And any idea on this topic are welcome so feel free to write any proposal here.

Thanks,
Jiafan



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:Event logging framework [Re:HenryShanley]
Cappuccino





发贴: 49
于 2007-09-16 04:16 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
如果仅仅只是nt上面的话好像log4j上面有nt system event appender,但是linux平台下面就不清楚了~
log4j can direct its output to a file, the console, an java.io.OutputStream, java.io.Writer, a remote server using TCP, a remote Unix Syslog daemon, to a remote listener using JMS, to the NT EventLog or even send e-mail.



作者 Re:Event logging framework [Re:HenryShanley]
JiafanZhou



版主


发贴: 736
于 2007-09-18 16:33 user profilesend a private message to usersend email to JiafanZhoureply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
管理员请把我这个帖子移到 “Java程序分享区“。

谢谢



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.

reply to topicflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923