modify pg log