django-sloop icon indicating copy to clipboard operation
django-sloop copied to clipboard

Log to aws instead of DB

Open yigitguler opened this issue 4 years ago • 4 comments

Maybe we can optionnaly log old messages to AWS instead of DB. What do you think?

yigitguler avatar Feb 11 '21 10:02 yigitguler

Do you mean that after some time deleting the old logs and creating them in AWS?

alicertel avatar Feb 11 '21 11:02 alicertel

I meant storing only on AWS, but is it even possible?

yigitguler avatar Feb 15 '21 11:02 yigitguler

I think we can do anything with boto3 :) I made a quicklook and there is python samples to put logs to cloudwatch.

But we will lose the ability to use our lovely django admin for debugging. I think this should be optional and default should be postgres.

alicertel avatar Feb 15 '21 11:02 alicertel

Totally agree. But in projects like Algorand, it creates a great amount of load to the DB for no reason.

yigitguler avatar Feb 15 '21 11:02 yigitguler