speedwing / log4j-cloudwatch-appender

MIT License
24 stars 15 forks source link

Support for Multiple Log Files? #17

Open JustinPlute opened 5 years ago

JustinPlute commented 5 years ago

Does this support multiple different log files to different log streams under the same log group?

nemo83 commented 5 years ago

Not sure I fully understand the question.

I guess thou, that if want to partition your logs in two different streams under the same group, you may want to create two different loggers (Appenders), one for each stream (but the same group)

Each appenders will have to be configured so to only receive the portion of the stream you want to push to CloudWatch.

Hope this helps.