## record_action()


Append a timestamped audit entry for a service control action.


Usage


``` python
record_action(
    username,
    service,
    action,
    reason,
    result,
)
```


Called for rejected attempts as well as executed ones, so the trail shows what was tried, not only what succeeded.
