If M292 S# is used to enable logging and it is subsequently disabled using M929 S0 then DWC and DSF are not notified of the change to state.logLevel. See https://forum.duet3d.com/topic/38673/logging-level-in-object-model.