Updated logging with commas for easy CSV editing