This endpoint creates log settings for a specific point of sale device.
The log settings to apply to the point of sale device.
Indicates whether verbose logging is enabled for the point of sale device. When enabled, more detailed logs are generated, which can be useful for debugging and troubleshooting.
Example:true
The maximum size of the log file in bytes. Once the log file reaches this size, older log entries may be removed or archived to prevent exceeding the size limit.
Example:10485760
- Production environmenthttps://api-services.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
- Sandbox environmenthttps://api-services.test.pxp.io/api/v1/point-of-sales/{pointOfSaleId}/log-settings
curl -i -X POST \
https://api-services.pxp.io/api/v1/point-of-sales/123456789/log-settings \
-H 'Content-Type: application/json' \
-d '{
"verboseLoggingEnabled": true,
"maximumLogSize": 10485760,
"logFileCleanUpDays": 30
}'