Database logging replaces file logging. For each qualified database server, PingFederate provides scripts to create database tables for the audit log, the provisioner audit log, the provisioner log, and the server log.
You can find these scripts in the <pf_install>/pingfederate/server/default/conf/log4j/sql-scripts directory.
PingFederate was tested with vendor-specific JDBC drivers. For more information, see Compatible database drivers. To obtain the database driver .jar file, contact your database vendor. Install the database driver file to the <pf_install>/pingfederate/server/default/lib directory, and then restart the server.
Failover file logging is provided in the event that database logging fails for any reasons. By default, PingFederate retries database logging every minute. Messages written to log files during failover periods are not copied over to the database server.
You enable database logging for the audit log, the provisioner audit log, the provisioner log, and the server log in the log4j2.xml file.