-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
LoggerAdapter for logs DB - aggregate logs from multiple servers #391
Comments
hi can you provide an example on how you use logger? |
@boardmain what is unclear on using the adapter? https://github.com/ParsePlatform/parse-server/wiki/FileLoggerAdapter.js You can also look at the test if you are still unclear. https://github.com/ParsePlatform/parse-server/blob/master/spec/FileLoggerAdapter.spec.js#L30 |
im trying to use it with the loggerAdapter option from the example parse server app.. i'm missing something (first time i use parse server) |
This doesn't seem like a highly requested feature. Moving to long term. |
Over a year old, going to close this out as there hasn't been any talk about putting this in. Seems like a good idea however. If this is still of interest let us know and we can try and put this into a more 'active' phase and get a PR going! |
I am interested in this Issue. |
Not personally running a cluster so hard for me to judge outright,
@flovilmart think it's reasonable for this to be pursued?
…On Jan 9, 2018 11:56 AM, "CHANG, TZU-YEN" ***@***.***> wrote:
I am interested in this Issue.
It's might be of use to me on cluster of parse-server.
Maybe I can do it.
Does anyone agree?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#391 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE1d4MOh4LobXo2yc4QRnhffRzNeAYSWks5tI8RPgaJpZM4HZfWv>
.
|
I don't think it's reasonable to pursue it, as you'd have to integrate a centralized logger in any case, which can be done through a custom adapter. |
@flovilmart |
The logger adapter is quite simple, it jhas to implement 1 method for writing (log()) and one for reading, (query) You can also look into the default logger here as it provides a decen example of what's exepected. |
The label |
We currently use a
LoggerAdapter
which usesFileLoggerAdapter
by default.FileLoggerAdapter
simply logs locally to a logs folder. It would be great to have an adapter where the logs are sent to a DB to handle multiple servers.The text was updated successfully, but these errors were encountered: