The Nextmv platform captures logs via stderr
. Please note that any messages printed to stdout
will not be displayed in Nextmv Cloud. Use the provided functionality to record logs. The redirect_stdout
function is particularly useful when you want to redirect stdout
to stderr
for logging purposes. Many solvers and libraries print messages to stdout
, which can be redirected to stderr
for logging.
After executing it, here are the messages printed to the different streams.