enable threads on apps + log to apps.log