Log compilation errors locally