Add more logging to compile