CLI Reference Guide

3.5 Logging services
3.5.1 Enable log
Table 3-21 Enable log
?api=logging&method=enable
POST Description Method that enables the Logging Service during a specified number of days. If
specifying 0 Days, the Logging Service will be enabled permanently.
NOTE: Take into consideration that enabling the log permanently will shorten the
printer’s hard disk lifetime, and may also affect performance.
Payload IN XML Configuration parameters
OUT If 200, XML response with code 0
If 400, XML response with error code
Response code 200 OK – success
400 Bad request:
Error code -3: Error parsing xml payload
401 Unauthorized access – if basic authentication fails
411 Length required – if content length is not or is badly specified.
500 Internal Server Error – if too many requests are active. Retry recommended.
Schema Request
?api=logging&schema=enable
Response
?api=common&rschema=default
Figure 3-21 Enable log, request payload example
Figure 3-22 Enable log, success response example
Section 3.5 Logging services 25