Added timestamps to debug logging