Fixed logger daemon in order to fix stats, now working (#18)