I am not all that familiar with S3 but a quick glance at the docs tells me it 
supports either using HTTP or the AWS SDK. The section on event notifications 
for S3 mentions that it supports object created and object removed events, but 
I don’t see anything about object modified. It also isn’t clear if the HTTP 
access support If-Modified-Since. If it does then you could use the enhanced 
HTTP support I am adding and poll.

In any case, I am completely changing the Watcher interface so it is not 
specific to files, so it should be easier to add support for things like S3 
using their native SDK.

Ralph


> On Mar 1, 2019, at 7:04 AM, José Danilo Ross Lépiz <jd.ross...@gmail.com> 
> wrote:
> 
> Hi Ralph,
> 
> I was thinking something like point any number of log4j instances to a
> single file hosted in S3 and still get the change monitor feature, but then
> it sounds like it would require a custom watchdog that can handle the S3
> connection for checking the file right?
> 
> Thanks
> 
> El jue., 28 feb. 2019 a las 17:24, Ralph Goers (<ralph.go...@dslextreme.com>)
> escribió:
> 
>> If it is just a file URL then there is no problem. You can already access
>> a remote file via http - or any other url natively supported by a
>> URLConnection - but you cannot monitor for changes. I am in the process of
>> adding support for Spring Cloud Config which will allow you to access a
>> file through it that is stored in any of the mechanisms it supports via
>> HTTP and you will be able to monitor changes.
>> 
>> If that doesn’t meet your needs please let me know what you would expect
>> access through S3 would look like.
>> 
>> Ralph
>> 
>>> On Feb 28, 2019, at 2:59 PM, José Danilo Ross Lépiz <
>> jd.ross...@gmail.com> wrote:
>>> 
>>> Hi
>>> 
>>> I've been looking for information about support for remote configuration
>>> files without any luck.
>>> Does anyone know if its possible to extend log4j2 to support loading
>>> configuration from sources like S3 or similar?
>>> 
>>> Thanks.
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
>> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>> 
>> 
> 
> -- 
> José Danilo Ross Lépiz



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to