-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We need to decide whether HP takes on the role of capturing and persisting the logs of SC executions or let the SC worry about it.
HP capturing the SC logs:
- Will be useful for grouping/nesting the SC logs inside the HP consensus round logs.
- Will not make a future FUSE interception layer (Contract state management #8) polluted with log file writes.
- We will require SC to write the logs to stdout/stderr.
- Log severity levels will have to be implemented with log prefixes or custom file descriptors which SC has to comply with.
- SC will have to optimize log emissions based on configured logging level. HP have no way of preventing unnecessary logs being written to fd which is wasteful bytes transfer.
- Future logging features will need to be borne by HP which may inhibit SC developer requirements.
SC handling it's own logs:
- SC developer decides the best way to handle logs for the SC.
- May cause HP FUSE interception layer to be invoked for log file writes (this needs further research).
- Less long term work for HP as long as we are able to resolve FUSE pollution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels