Search code examples
javalogginglog4jweblogic

What is the best way to log to SQL Server from Java EE


I have a web service Jax-RS running in Weblogic. I have a need to logg the calls made to the service.

What is the best way to log to SQL Server from a java application?

Thanks.


Solution

  • This question was asked in a very simlilar fashion a little while ago.
    See here for the original: Log to a database using log4j

    The accepted answer points to the DBAppender by logback. http://logback.qos.ch/manual/appenders.html#DBAppender