Skip to content
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

Remote Logging #40

Closed
opswhisperer opened this issue Dec 14, 2015 · 3 comments
Closed

Remote Logging #40

opswhisperer opened this issue Dec 14, 2015 · 3 comments

Comments

@opswhisperer
Copy link

This is REALLY useful for individual testing and debugging. It would be even better if when this is enabled it would post logs to a database periodically. Could be Dynamo, Elasticsearch, Mongo etc. This would allow broader profiling among Test and Beta users. Its important to understand your API consumption so you don't put out an app thats going to blow your API quota or violate a 3rd Party TOS and this could do that easily I think.

@opswhisperer
Copy link
Author

any thoughts on this?

@kasketis
Copy link
Owner

kasketis commented Feb 3, 2016

Hello @opswhisperer ,

Thanks for you comment and sorry for the delayed response. If I understand correctly you need a method in which you can set a URL of your server and get requests and responses there also. Right?

The only issue I see on this is if this mechanism is synchronized (in order to get live usage data on your server) there will be a -web service- delay on your app due to upload of the files on your server - response bodies are large sometimes. What do you think about this?

Thanks

@opswhisperer
Copy link
Author

I think only a web service makes sense and definitely not synchronized. I was more thinking of a delicate method or overload that the user could implement their own logging. I use Keen.io.

If you provided a delegate method that contained the HTTPModel object that would probably be enough. I was experimenting with this directly in add() method of the model manager.

Janglinator added a commit that referenced this issue Mar 6, 2018
…user subscribe to Notification.Name.NFXAddedModel, where they can receive the NFXHttpModel that was added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants