Added debug logging
Simle time logging