# Error and Output logs missing with v3.29.5

**URL:** https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978
**Category:** Usage
**Created:** [June 7, 2024, 4:58pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978 "2024-06-07T16:58:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![osxtra](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/e79b87/32.png) [@osxtra](https://discourse.cmake.org/u/osxtra)
#### Post date: [June 7, 2024, 4:58pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/1 "2024-06-07T16:58:00Z")

</div>

Hi, noticed after upgrading from v3.25.1 to v3.29.5 that neither CMakeOutput.log or CMakeError.log are being created.

Am on Mac Ventura (13.6), installing to /usr/local

Doing out of source builds with a folder for each app, a numbered folder indicating the version, and a build.cmake folder where everything gets made.

Was on v3.25.1 but (belatedly, if it ain’t broke don’t tend to fix it) noticed v3.29.5 was out so got that and compiled it.

After doing so, CMakeError.log and CMakeOutput.log were not created for the app I was trying to compile (latest MariaDB).

Used both configure and the existing CMake v3.25.1, same result.

Went back to v3.25.1 and CMakeOutput.log and CMakeError.log were again created during compilation.

Used the same build options for compiling both versions of CMake.

Have looked at the docs and intertubes and not found anything about CMakeOutput.log or CMakeError.log not being created anymore.

Grepping the build folder produced nothing usable.

Any insight on how to get output and error logs with v3.29.5 would be most appreciated.

Thanks!

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [June 7, 2024, 10:31pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/2 "2024-06-07T22:31:56Z")

</div>

Starting with CMake 3.26, CMake writes a file called `CMakeFiles/CMakeConfigureLog.yaml` instead. The 3.26 release notes did have an entry for this, but they didn’t mention specifically that `CMakeOutput.log` and `CMakeError.log` are no longer created.

There’s also a separate manual describing the new configure log: [https://cmake.org/cmake/help/latest/manual/cmake-configure-log.7.html](https://cmake.org/cmake/help/latest/manual/cmake-configure-log.7.html)

---

<div class="post-metadata">

### Author: ![osxtra](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/e79b87/32.png) [@osxtra](https://discourse.cmake.org/u/osxtra)
#### Post date: [June 8, 2024, 12:41am UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/3 "2024-06-08T00:41:21Z")

</div>

Thanks, had noticed that file, but didn’t track to it being new or a replacement for Output / Error.

---

<div class="post-metadata">

### Author: ![VictorEijkhout](https://discourse.cmake.org/user_avatar/discourse.cmake.org/victoreijkhout/32/3586_2.png) [@VictorEijkhout](https://discourse.cmake.org/u/VictorEijkhout)
#### Post date: [August 11, 2025, 7:57pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/4 "2025-08-11T19:57:48Z")

</div>

Cool. I wondered what had happened to the logs.

But…

Why doesn’t cmake record how it was invoked? Even with this log I still have to basically catch all terminal output. Is it so hard to “echo $0 $\*”?

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [August 11, 2025, 9:53pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/5 "2025-08-11T21:53:16Z")

</div>

Keep in mind that the `cmake` command gets re-executed, possibly many times, and the set of command line options won’t be the same each time. The first invocation may provide a few essential details like the CMake generator, source and build directories, various CMake cache variables, and so on. Subsequent invocations might have no command line options at all, relying on details cached from previous runs.

I mention the above because it is relatively common when folks ask about accessing or saving the `cmake` command line that they want to somehow interpret or use that information, but they are either not aware or didn’t consider that most of the time, that command line won’t have anything but the `cmake` executable with no options.

---

<div class="post-metadata">

### Author: ![VictorEijkhout](https://discourse.cmake.org/user_avatar/discourse.cmake.org/victoreijkhout/32/3586_2.png) [@VictorEijkhout](https://discourse.cmake.org/u/VictorEijkhout)
#### Post date: [August 12, 2025, 3:05pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/6 "2025-08-12T15:05:50Z")

</div>

Ok, the nested calls may be vacuous. That doesn’t mean that I don’t have an 80 line cmake invocation for a certain library with lots of options, and the first thing the developer asks me is “how did you invoke cmake”.

The fact that it’s not useful to you doesn’t mean that other people don’t have a use for it. “echo $0 echo $\*” please?

---

<div class="post-metadata">

### Author: ![VictorEijkhout](https://discourse.cmake.org/user_avatar/discourse.cmake.org/victoreijkhout/32/3586_2.png) [@VictorEijkhout](https://discourse.cmake.org/u/VictorEijkhout)
#### Post date: [August 12, 2025, 3:07pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/7 "2025-08-12T15:07:01Z")

</div>

While I’m at it, why isn’t cmake self-documenting? Why can’t I “cmake --help ” and it tells me all the options? Like autoconf?

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [August 12, 2025, 9:32pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/8 "2025-08-12T21:32:31Z")

</div>

> [@VictorEijkhout](#):
>
> The fact that it’s not useful to you doesn’t mean that other people don’t have a use for it.

Maybe don’t shoot the messenger, especially when they are trying to help you. 😉

> [@VictorEijkhout](#):
>
> Why can’t I “cmake --help ” and it tells me all the options?

It should do that already. If you see any supported options missing, please [file a bug report](https://gitlab.kitware.com/cmake/cmake/-/issues/new). If you see no output at all, that’s very much unexpected.

---

<div class="post-metadata">

### Author: ![VictorEijkhout](https://discourse.cmake.org/user_avatar/discourse.cmake.org/victoreijkhout/32/3586_2.png) [@VictorEijkhout](https://discourse.cmake.org/u/VictorEijkhout)
#### Post date: [August 13, 2025, 11:22am UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/9 "2025-08-13T11:22:35Z")

</div>

No, I mean “cmake --help “location of cmakelists”” and it tells me all the “-D whatever” options on the specific cmake file. (Oh dang. That’s what I typed initially, but I used angle brackets which this system interprets as a URL or something.)

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [August 13, 2025, 12:12pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/10 "2025-08-13T12:12:54Z")

</div>

CMake can’t know what options are defined without first running a configure step. It is the process of running configure that defines the cache variables. If you want to see an interactive list of variables after at least one configure step has been run, use the CMake GUI tool, or use `ccmake` if you only have a terminal without a graphical desktop environment. Then you can browse through the defined variables, including with some help text for each one.

---

<div class="post-metadata">

### Author: ![VictorEijkhout](https://discourse.cmake.org/user_avatar/discourse.cmake.org/victoreijkhout/32/3586_2.png) [@VictorEijkhout](https://discourse.cmake.org/u/VictorEijkhout)
#### Post date: [August 13, 2025, 4:50pm UTC](https://discourse.cmake.org/t/error-and-output-logs-missing-with-v3-29-5/10978/11 "2025-08-13T16:50:56Z")

</div>

Ok, feature request: make it easy for developers to add a line to the `--help` output?  
(Have you ever used PETSc? Its configure help is multiple screens long, listing all of its hundreds of options and suboptions.)
