Log psql output to startup log if specified.