From: Alister P. <gsp...@gm...> - 2015-05-19 07:30:30
|
Hi Dmitriy, I thought that either Node.js or Clojure would be good for an SSE server - keep it away from eXist-db. Either of those should be able to provide a socket for Log4J (but if that’s too hard, I’ll fall back to a text log). > On 19 May 2015, at 4:48 pm, Dmitriy Shabanov <sha...@gm...> wrote: > > Are you going to implement this in java? > > On Mon, May 18, 2015 at 8:25 PM, Alister Pillow <gsp...@gm... <mailto:gsp...@gm...>> wrote: > Hi, > > Has anyone generated Server-Sent events from eXist? (Regardless of event source.) In particular, I want to record Create and Delete events - possibly updates. This would apply to all resources - not just XML. > > I want to avoid triggers if possible - because I’m already using them in different places and I want this to be a global service for the /db. > > It seems that the simplest approach might be to use Log4J to write to a log file - or a socket. > > Is there already such a log message (I can’t see anything in debug mode) - where might be the best place to add such a log message? > > Thanks, > Alister. > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y> > _______________________________________________ > Exist-development mailing list > Exi...@li... <mailto:Exi...@li...> > https://lists.sourceforge.net/lists/listinfo/exist-development <https://lists.sourceforge.net/lists/listinfo/exist-development> > > > > -- > Dmitriy Shabanov |