change of listen command to log correctly