This function returns the account's BoxTrapper log file and its contents.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ get_log \ email='user@example.com'
{- "apiversion": 3,
- "func": "get_log",
- "module": "BoxTrapper",
- "result": {
- "data": {
- "date": 1556812881,
- "lines": [
- "Processing email with trusted transport method."
], - "path": "/home/user/etc/example.com/user/boxtrapper/log/05-02-2019.log"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}