Menu

#30 MONITORING -> Display operation messages to console

closed
nobody
5
2023-08-11
2023-01-02
ZEE
No

if we start emailrelay.exe from a console
we should receive monitoring messages in the same console...

a parameter like --debug 1..3? would be nice
(--debug 1 as default and --debug 0 to disable it)
to select the level of information displayed (1=less 2=medium 3=all)

I'm tail'ing the log by now...
but a native option would be more performant and better formatted

Discussion

  • Graeme Walker

    Graeme Walker - 2023-01-03

    You probably want to use "emailrelay-textmode.exe". It writes log messages to the console via the standard error stream.

    There are currently three logging levels, of course -- normal, "--verbose" and off! -- and debug logging can be enabled with "--debug" if it's built in. I suppose two "--verbose"s could be used to enable debug logging, but I don't really want to put the debug log messages into the release build.

    Are there partiular things you are interesting in seeing, or not seeing, in the verbose log output?

     
  • Graeme Walker

    Graeme Walker - 2023-08-11
    • status: open --> closed
     

Log in to post a comment.