added logging to multiple logs simultaneously