Python 3.6 keep log info in buffer and then send it

烈酒焚心 提交于 2021-01-29 05:21:11

问题


I have a homemade tool that runs a lot of steps and then I'm caching all is going on with the package import logging and then writing it into a file for logging purposes.

I would like to make my process smarter and I was wondering how to keep all the data collected for the log steps in a buffer and then send it to cloud or a database table or any other destination.

thanks so much for your advice and approaches.

来源:https://stackoverflow.com/questions/52081408/python-3-6-keep-log-info-in-buffer-and-then-send-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!