-
Notifications
You must be signed in to change notification settings - Fork 9
Brane Log #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I worked around the issue in this case, but I'm still curious on the state of log and whether we should move this to a long lived branch while we are not using it. The less is in the main tree, the better if you ask me. |
The only reason I kept it around all these years is a stinging reminder that Brane desperately needs a form of audit logs akin to what the So... yeah no worries removing it if we just create an issue or TODO somewhere xD |
Now that we are moving to tracing. Do you think that would suffice, maybe with some annotation on the tags that those are relevant with respect to the audit log, or do we need some out of band mechanism that is purely dedicated to audit logging? |
Well, I think that it may prove important that, eventually, the audit trail may be of different sensitivity / importance than the rest; i.e., we may want to store it differently and/or send the logs somewhere else than the main host of logs. If that's possible within tracing, then just tagging is enough :) but otherwise, maybe, may be better to keep them split. |
That is tough, I think it might differ whether we could and whether we should. Tracing is basically a fancy set of event triggers, that enter some chain of different actions registered in the various layers of tracing subscriber. We could add some metadata when emitting them, and filtering them out in one set of layers while keeping them in another. The main downside might be that it would be easy to mistake the two different APIs in our usage. On the other hand, if something like spans is useful, I would 100% recommend using with maybe an extra endpoint that fixes the annotation issues, as implementing that is nasty, and we are not going to do it better than the Tokio team itself. |
I agree. But due to its sensitive nature, maybe audit traces require special care while writing or something, and this should be as transparent as possible. But that's probably also thought a little too strictly 😂 I think for now using spans would be an excellent idea. |
While working on CI, MSRV in particular, I'm running into an issue with Brane log.
For MSRV I'm running a script along the lines of
find . name Cargo.toml -exec ...
. However, this is failing now because of Brane-Log. What is the current state of Brane log? Should we keep this around, or can we move this over to a separate branch until it's done, for example?I could also make my tooling more robust, and ideally I would like to, but I cannot really afford to spend more time on CI right now.
The text was updated successfully, but these errors were encountered: