--added an option for always log