IRPCEventsAdmin.EnableEventLogging
Administration API / specialized admin session idempotent
Turns event logging of the vault on or off.
| Service | Event administration MFiles.IRPCEventsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCEventsAdmin/EnableEventLogging |
| HTTP (mf-http-grpc) | POST /grpc/v1/enable-event-logging |
| Request | EnableEventLoggingRequest |
| Response | EnableEventLoggingResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | yes |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires a vault session and the vault right
manage_events. - Turning logging off fails with "This operation is not allowed when the advanced event log features are enabled." in vaults that use those features.
- Changes only future logging; existing events stay.
Request: EnableEventLoggingRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
enable | bool | True to turn event logging on, false to turn it off. |
Response: EnableEventLoggingResponse
No fields.