Log compilation source and target before compilation.