Liferay uses log4j at it's core for logging. You can use a JDBCAppender to push the log info to the database: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/jdbc/JDBCAppender.html
Here's more of a tutorial: http://www.tutorialspoint.com/log4j/log4j_logging_database.htm
Note the warning on the JDBCAppender where it indicates that exceptions (plus stack traces) are not logged.
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.