Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. if it is possible what is the protocol? In the case of Auto_Scaling how we can track the instances? how to find which machine is created, in which region and all? can we use synchronized / Asynchronized Log4j Appenders for this?

Thanks in advance..

like image 895
Nijisha Kg Avatar asked Nov 02 '22 15:11

Nijisha Kg


1 Answers

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. http://s3appender.codeplex.com/

like image 108
poohdedoo Avatar answered Nov 08 '22 08:11

poohdedoo