how to add a superservice (was: Re: Best Development Manual)
Joost van Baal
joostvb at logreport.org
Fri Oct 11 18:47:32 CEST 2002
Hello Hengel,
First of all: which version of Lire are you using?
On Fri, Oct 11, 2002 at 12:09:25PM -0400, Hengel Zambrano wrote:
>
> I'm trying to write a superservice but I'm having troubles because the
> developer manual is incomplete.
Developer's documentation is still not completed, indeed... For now,
taking a look at the way other superservices are implemented is the
easiest way to get going fast, I'm afraid :( (I assume you've seen
Chapter 2. of the Lire Developer's Manual.)
> The point II.3 is almost empty
>
> When I run my new super service / service I get the following error:
>
> sybase server lr_tag-20021011120556-15429 sybaselog2dlf err failed to
> load sybase schema: invalid superservice: sybase at
> /opt/lire/logreport/libexec/lire/sybase/sybaselog2dlf line 20
>
This looks like you've forgotten to add a file sybaselog.xml to
/opt/lire/logreport/share/lire/schemas/ , or perhaps the format of this
XML file is incorrect. Setting DEBUG=1 in defaults.local might help
debugging the problem. Be sure to add a file sybaselog.cfg to
/opt/lire/logreport/etc/lire/ too.
> Have anybody a mini how to of the necesary steps to add a new super
> service ?, Have anybody added a new superservice before ?
Apart from the LogReport developers, Edwin Groothuis did this once, as
did Arnaud Taddei with Arnaud Gaillard.
BTW, I'm very happy you're trying to implement your own superservice!
Please give us another call in case you run into any more troubles.
You might want to consider sharing your code: we are gladly accept code
contributions, and are happy to ship it with Lire and possibly maintain
it in the long run. Let us know if this would be an option for you.
Bye,
Joost
--
Joost van Baal . . http://www.logreport.org/
. .
/^LogReport$/ . . joostvb at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20021011/61cb71b1/attachment.bin
More information about the Development
mailing list