log with mysql;
layout definitions
pw