[JDEV] The logger cc and presence bcc in 1.4.2
Philippe Raxhon
raxhonp at easynet.be
Sun Mar 17 16:01:04 CST 2002
DJ Adams wrote:
>On Sun, Mar 17, 2002 at 02:12:52AM +0100, Philippe Raxhon wrote:
>
>>Hi,
>>
>> From the 1.4.2 change log I have seen that:
>>The logging module (mod_log) can now be configured to simply copy all
>>messages to one more more services. To enable this, put the name of the
>>
>
>(note that this will just copy <message> elements going through the JSM,
>not all elements going through anywhere in a Jabber server)
>
It's far enough (for the moment).
>
>>service(s) (which must be in the local server domain, not routed over
>>s2s) in the jsm configuration as:
>><archive><service>name</service>...</archive>. For every message, that
>>service will receive a copy of the message wrapped in a route element of
>>type "archive".
>>
>>I have added thid to my jabber.xml;
>> <jsm xmlns="jabber:config:jsm">
>> ...
>> </browse>
>>
>> <!-- This should send all logging message to the slogger service -->
>> <archive>
>> <service>slogger</service>
>> </archive>
>> </jsm>
>>
>>Knowing the slogger service is an accept component (working fine, I can
>>send mesages to it with this jid: slogger.mydomain.org):
>> <service id="slogger">
>> <host>slogger.mydomain.org</host>
>> <accept>
>> <ip>localhost</ip>
>> <port>5999</port>
>> <secret>secret</secret>
>> </accept>
>> </service>
>>
>>But it's not working, my component doesn't receive any logging packet.
>>What am I doing wrong?
>>
>
>Well, as far as I can see, nothing at all. I've used the same setup on
>my test 1.4.2 server here, and it works fine. THe only stupid question
>I can ask right now is - are you sure you're running this config against
>a 1.4.2 and not 1.4.1 server by mistake? The only reason I ask is because
>I've done something like that and it took me a while to realise why things
>weren't working :-)
>
>Cheers
>dj
>
I am not as cleaver as you are but I can be as stupid as your question.
Even if I thought I was running 1.4.2, I was _not_. It's working fine now.
Thanks a lot
Philippe
More information about the JDev
mailing list