Added logging functionality
Logs are stored in the logs directory with the same naming convention as data files: sun_DD-MM-YYYY_HHMMSS