Changed logging method to optimize debugging