Improved hourly data logging in deamon