Foren
abt java Logs
pankaj Singh kharkwal, geändert vor 11 Jahren.
abt java Logs
New Member Beiträge: 4 Beitrittsdatum: 05.04.12 Neueste Beiträge
hi there, can anyone tell me how to store loggs in daata base..????????
David H Nebinger, geändert vor 11 Jahren.
RE: abt java Logs
Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
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.
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.
Subhash Pavuskar, geändert vor 11 Jahren.