Re: [Yxa-devel] Some questions on YXA design

2009-12-01 Thread Fredrik Thulin
On Tue, 2009-12-01 at 13:33 -0500, Vance Shipley wrote: On Mon, Nov 30, 2009 at 10:10:38AM -0500, Kaiduan Xie wrote: } Then we need to save the log level to ETS or Mnesia, and every time, } you want to log, we need to read from ETS/Mnesia. That is not the functional way. The debug level

Re: [Yxa-devel] Some questions on YXA design

2009-12-01 Thread Vance Shipley
On Tue, Dec 01, 2009 at 08:45:32PM +0100, Fredrik Thulin wrote: } Would passing an ETS table reference count as functional? ;) No, not really. } We're moving from having a named table with global configuration data } towards passing a reference to /a/ version of configuration data that a }

Re: [Yxa-devel] Some questions on YXA design

2009-12-01 Thread Fredrik Thulin
On Mon, 2009-11-30 at 21:15 -0500, Kaiduan Xie wrote: Fredrik, Adding line number and module name to the log is quite helpful to read the log, at least from my personal experience. Well, I'm not sure... I see the current (debug) log as more of a story about what happened when YXA processed