Adding to the log file but not the display
-
I can use M118 to add a message to the log file, but it also gets displayed. Is there a command or method for adding something to the log file but not having it get displayed?
I know I can always create a different file and echo commands to it, but I want my messages to be interspersed with the normal log file messages. I tried to echo and append the log file but it did not work.
-
-
@mikeabuilder I have moved this to the firmware wish list section. Something like M118 Pn where "n" was a number that meant "Log only" would be needed.
-
Thanks @T3P3Tony.
-
@T3P3Tony I think this is pre-solved with the resolution - RTFM. From the M118 cgode dictionary page:
Note that a message only having the Lnnn parameter but no Pnnn parameter will only go to the log file (if the log level matches the current log level of the system) and will not be sent to other outputs. If you want it to show on DWC as well then send: M118 P0 S"message" L1
-
@mikeabuilder ahh thanks
-
-
-