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
Server logging #295
Comments
There's no logs at the moment, definitely makes sense to add. |
@ysimonson about logging,
|
Yeah that’s right regarding ping. for logging, the level should be the lowest possible (I think that’s TRACE?) And maybe just the function name and stringified input argument? That should be fine except in the case of bulk insert where the argument could be too large, in which case ellipses will do. Eg bulk_insert(…) |
@ysimonson how do you think of format like following? #298 |
That works! |
@ysimonson hello, this is some example logs...
I'm not quite sure in this part because I don't have professional experience in GraphDB. So feel free to suggest.
and
=> I think such data in example above, will be okay to setup as |
Yeah INFO for the highest level function works fine. I’m a little hesitant to add logging to the IndraDB library though, as that’d be somewhat prescriptive and I’m not sure if there’s enough consensus on the log crate to justify that. if the IndraDB server log includes both the function name and it’s arguments, that may well cover most logging needs. |
@ysimonson okay, understood. Than could you think of good way to make things go on? What I was thinking is,
It will be better to hold this work until you get some detail plan 👍 |
How about to start, we just log the gRPC calls? That might be adequate, and in any case further use will reveal if there are additional logging needs. |
@ysimonson got it. I'll make simple draft soon 🆗 |
Hello,
I'm testing indradb server internally, but it seems there are no log appearing in server for certain action.
ping
command, and there were no log appearing in server. It only shows grpc address.Are there any option to make log visible, or is it not prepared?
The text was updated successfully, but these errors were encountered: