feat(loggly): enable json loggin and start loggin errors during cron
refactor(env): small cleanup