Logs: Remove unused code