cloudwatch-logback-appender icon indicating copy to clipboard operation
cloudwatch-logback-appender copied to clipboard

IP Address of the machine for <streamName>?

Open tosehee opened this issue 3 years ago • 1 comments

As per title, can you modify so the stream name can use the ip address of the machine?

In EC2, it could be hostname or etc. But if used locally, it can be my local ip address.

That way, you don't have to hard code or start the application with the -D... This is very cumbersome and not user friend when you have to manage a lot of servers for the same application.

tosehee avatar May 13 '21 22:05 tosehee

Example)

<streamName>${ip}</streamName> OR <streamName>ip</steramName> etc

tosehee avatar May 13 '21 22:05 tosehee