Post Reply 
Logging to stdout
24-06-2025, 13:15
Post: #1
Logging to stdout
Hi everyone!

I find in the documentation how not to generate logs in minimserver.log using '.logFile = -'.
But is there a way to write logs to stdout, and errors to stderr?

Kind regards
Find all posts by this user
Quote this message in a reply
24-06-2025, 18:32
Post: #2
RE: Logging to stdout
It isn't possible to redirect MinimServer log messages and error messages. Instead, you could use tail -f to monitor messages written to the log file and send these messages wherever you want. You can use logLevel to control which messages are logged but there isn't any reliable way to identify which logged messages represent errors and which messages are informational or warnings.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)