Enabling Logging

Enabling Logging

If your printer has trouble connecting, you may wish to enable logging.
By default, logging is not enabled in order to reduce the amount of memory consumed when the HTTP alert feature is enabled. It is recommended that once the alert HTTP feature is configured properly and is performing as expected that the logging be disabled or that a very small (less than 100) number of logging entries be permitted.
To enable logging,
alerts.http.logging.max_entries
needs to be modified. By default it is set to 0, which indicates that no messages are logged. When attempting to troubleshoot connection issues it is recommended that max_entries be set to at least 100 entries. Setting max_entries to 100 means that the 100 newest logging entries will be present in alerts.http.logging.entries as older entries are discarded once the maximum number of entries is reached.
! U1 setvar "alerts.http.logging.max_entries" "100"
The logging settings do not require the printer to be reset before taking effect. This does not mean that previous logging message that would have been logged will appear when the max_entries setting is changed from 0 to a greater value. It means that any new logging messages will be logged from that point forward.
Issue the following command to clear any log entries currently in the alerts.http.logging.entries buffer.
! U1 do "alerts.http.logging.clear" ""