FIX: Print logs to separate logs as in web ui