logs and ph