Log4j Logging In Database

[Solved] Log4j Logging In Database | Php - Code Explorer | yomemimo.com
Question : log4j - Logging in Database

Answered by : togrul-ceferov

INSERT INTO logs (EventDate,Level,Logger,Location,Message) VALUES( 'date_here', 'INFO' , 'com.test.Test' ,'loc', REPLACE('%m','\'','') );

Source : https://stackoverflow.com/questions/53554193/logging-into-database-with-log4j | Last Update : Thu, 18 Aug 22

Answers related to log4j logging in database

Code Explorer Popular Question For Php