SOLVED Eventlog not recording
I haven't had my log file log anything for ages. Unsure if it ever logged anything other than "Event logging started".
Using RRF 3.2-beta3.2 (I've made some mechanical changes I want to see work before upgrading to b4.1) on a 6HC+3HC+SBC.
M929 P"eventlog.txt" S3
M118 S"Hello Logfile- deb" L3
M118 S"Hello Logfile- info" L2
M118 S"Hello Logfile- warn" L1
I tried, disabling log, delete and enable logging but still nothing gets logged.
jay_s_uk last edited by
I don't think the event log is supported like that when in SBC mode.
Most things are logged to syslog in /var/log/
I did suspect something like that and did doublecheck the documentation and couldn't find anything about that. Would be great to somehow have access to it trough the web interface.
Would be great to somehow have access to it trough the web interface.
Maybe add to the documentation of M929 that although it seems to work, it doesn't.
@TypQxQ The intention for 3.2 is to restore M929 functionality.
@Phaedrux I see that should have been fixed in DSF 3.2.0-b1:
"Event logging via M929 was not working"
Running 3.2RC2 and it still does not log anything usefull:
2020-12-22 09:18:49 Event logging stopped 2020-12-22 09:19:36 Event logging started 2020-12-22 09:24:20 Event logging stopped 2020-12-23 15:41:13 Event logging started 2020-12-27 16:55:38 Event logging stopped 2020-12-27 16:56:44 Event logging started 2020-12-27 16:57:12 Event logging stopped 2020-12-27 17:00:27 Event logging started
Can you try logging to a file name?
TypQxQ last edited by TypQxQ
@Phaedrux I have it setup as "M929 P"eventlog.txt" S3" in my config file.
Apparently the S3 does not work and S1 and S2 are switched to what the documentation states.
2020-12-28 00:26:56 M929 Event logging is disabled 2020-12-28 00:26:52 M929 P"eventlog.txt" S0 2020-12-28 00:26:44 M929 Event logging is disabled 2020-12-28 00:26:40 M929 P"eventlog.txt" S3 2020-12-28 00:26:32 M929 Event logging is enabled at log level warn 2020-12-28 00:26:28 M929 P"eventlog.txt" S2 2020-12-28 00:26:03 M929 Event logging is enabled at log level info 2020-12-28 00:26:00 M929 P"eventlog.txt" S1
M929 S1 works without problems for me. Note that I entered M118 and accidentally hit return, so I got an error which went into the log. Then I sent
M118 S"Hello" L1and again it was logged:
2020-12-30 19:21:47 Event logging started 2020-12-30 19:22:09 Error: M118: missing parameter 'S' 2020-12-30 19:22:14 Hello
But thanks for pointing out that
M929 S3isn't working, I'll fix that in the next build.