Create pwx_log_to_database