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