Error and log ports added.