简体   繁体   English

用于登录S3的Log4j附加程序

[英]Log4j appenders for logging into S3

I would like to save the logs while creating, updating, terminating an Ec2 instance into an external storage like S3. 我想在创建,更新,终止Ec2实例到S3之类的外部存储时保存日志。 if it is possible what is the protocol? 如果可能的话,协议是什么? In the case of Auto_Scaling how we can track the instances? 在使用Auto_Scaling的情况下,我们如何跟踪实例? how to find which machine is created, in which region and all? 如何查找创建了哪台计算机,在哪个区域以及所有区域? can we use synchronized / Asynchronized Log4j Appenders for this? 我们可以为此使用同步/异步Log4j Appenders吗?

Thanks in advance.. 提前致谢..

Did you try this? 你有尝试过吗? S3Appender is a log4net appender that stores log events in either a MemoryStream or FileStream and sends them to S3 based on time intervals and size thresholds. S3Appender是一个log4net追加器,可将日志事件存储在MemoryStream或FileStream中,并根据时间间隔和大小阈值将它们发送到S3。 http://s3appender.codeplex.com/ http://s3appender.codeplex.com/

我已经找到了这个S3Appender项目 ,但是还没有机会尝试它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM