added methods to enable/disable log of a specific port