I thought about that too, what about http://yaml.org/xml.html ?

Jacques


Le 04/01/2018 à 00:13, Taher Alkhateeb a écrit :
Yeah that sounds reasonable and we will not need any new libraries or
logic, just one or few xslt docs.

On Jan 4, 2018 2:00 AM, "Paul Foxworthy" <p...@cohsoft.com.au> wrote:

Hi Taher,

Yes, that had occurred to me. How about a capture format of XML and an XSLT
transform to HTML and/or plain text for human readability?

Cheers

Paul Foxworthy


On 4 January 2018 at 04:55, Taher Alkhateeb <slidingfilame...@gmail.com>
wrote:

Hmm, I'm not sure it would be a great idea to introduce a new data
format to OFBiz. It would mean adding new libraries to the framework
and thus more complexity.

I know XML is not the greatest data format in the world, but it is
what OFBiz uses, and so we should always try to stay consistent in our
approach.

On Wed, Jan 3, 2018 at 1:24 PM, Jacques Le Roux
<jacques.le.r...@les7arts.com> wrote:
+1 for YAML

Jacques



Le 03/01/2018 à 01:22, Paul Foxworthy a écrit :
Hi James,

I have been pondering something like this.

I suggest the output should be in a structured format like XML, JSON or
YAML, so it can be parsed by tools. Maybe YAML because it's intended to
give wiki-like human readability.

I suggest the ability to capture parameter values. You might make that
optional, with "summary" and "verbose" options. Parameter values would
only
be logged if the "verbose" option is enabled.

With both of these in place, one could use this to capture a series of
steps to generate a reproducible unit test, or to compose existing
services
into a super-service.

The minilang <trace> element and its implementation might have some
relevance.

Cheers

Paul Foxworthy


On 24 December 2017 at 03:37, James Yong <jamesy...@apache.org> wrote:

Hi All,

Would like implement a feature to log a tree view of services, simple
methods, events that are called during a request.
Something like:
-> Service A
          -> Simple Method B
                  -> Service C (Async)
          -> Simple Method D

All feedback is greatly appreciated.

Regards,
James Yong




--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au


Reply via email to