Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
pankaj Singh kharkwal
abt java Logs
December 13, 2012 5:10 AM
Answer

pankaj Singh kharkwal

Rank: New Member

Posts: 4

Join Date: April 4, 2012

Recent Posts

hi there, can anyone tell me how to store loggs in daata base..????????
David H Nebinger
RE: abt java Logs
December 13, 2012 10:13 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6129

Join Date: September 1, 2006

Recent Posts

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.
Subhash Pavuskar
RE: abt java Logs
December 14, 2012 10:57 PM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 229

Join Date: March 12, 2012

Recent Posts

Hey ,


Go with this link for logging information Link

Hope this may help you !!