Closed julien-f closed 1 week ago
The goal of this new feature is to help developers investigate issues by allowing them to easily gather more information.
When enabled, all logs emitted in a given API call are stored in a file (${tmpdir}/xo-api-${date}-${method}.log).
${tmpdir}/xo-api-${date}-${method}.log
Administrators can use the special _log param to request it:
_log
xo-cli vm.start id=$id _log=json:true # only keep the log if the call has failed xo-cli vm.start id=$id _log=failure
Or it can be enabled for all calls to a method in xo-server's configuration:
[api.logs] 'vm.start' = 'failure'
Fixes #007
See xoa-support#42
See https://...
Introduced by
CHANGELOG.unreleased.md
This 2-passes review process aims to: develop skills of junior reviewers limit the workload for senior reviewers limit the number of unnecessary changes by the author
This 2-passes review process aims to:
Notes:
Description
The goal of this new feature is to help developers investigate issues by allowing them to easily gather more information.
When enabled, all logs emitted in a given API call are stored in a file (
${tmpdir}/xo-api-${date}-${method}.log
).Administrators can use the special
_log
param to request it:Or it can be enabled for all calls to a method in xo-server's configuration:
Checklist
Fixes #007
,See xoa-support#42
,See https://...
)Introduced by
CHANGELOG.unreleased.md
Review process
Notes: