On macOS, why is the output of log stream different to log show?
By default debug messages are not persisted on disk, but rather only stored in memory.

Therefore you can have the situation where you can stream the debug log messages live using the "log stream" command, but when you later want to find it using "log show" it is not there simply because it is not logged to disk and has been erased from memory.