Adding LOG4J configuration to log to database

We are exploring ways to access and parse our appLogs for IIQ. I came across the below discussion that mentions logging to a database table. I’ve attempted some log4j configurations changes to add a appender for database logging, but I’ve not had success. I wanted to check if there is a recommendation for setting this up.

Hi @TwidTwpes,

I never save logs into DB with log4j configuration, but try to follow this guide.

Also, in IIQ DB you can find the syslog table, that are manage from IIQ directly, take a look on this table, maybe you can find the information that you need.

Yes. I started with this article and a few others I found while searching. I tried troubleshooting, but couldn’t get pass a number of errors.

Rather than saving logs in a database, consider a dedicated log-management platform—such as Splunk or LogRhythm—for powerful search, alerting, and failure monitoring capabilities.