[TIMOB-12169] Create build log with compilation

Resolves https://jira.appcelerator.org/browse/TIMOB-12169
Why do you need the `fileLoggerRegistered` flag? config() should only be called once.