Fix logging+nativecheck