Reputation: 791
I am looking for the a java logger framework like log4net(c#).
I need a logger with an appender like the AdoNetAppender in log4net that can insert logs into a self specified table and columns.
The logger will also have to have other appenders like file appenders.
I saw that log4j 2.0 is coming out soon, but still it doesn't seem to have db appender.
Logback's DB appender is also not good to me because it uses 3 tables that are proprietry to its design.
I have a .net service and a java application and I want them to write the logs to the same table in the database.
Thank you!
Upvotes: 0
Views: 412
Reputation: 308763
log4net is based on log4j, not the other way 'round.
There's a DbAppender:
http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/db/DBAppender.html
Upvotes: 4