VE-1332 Moved logging for typing to the proper order