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 
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?

I have also tried this, once again from the change log:
The presence module can also be configured with a list of jids that will 
be blind-copied every presence update from every available user.  These 
bcc jids are configured in the jsm section as: 
<presence><bcc>jid</bcc>...</presence>.  These jids are not restricted, 
and may be any local service, remote service, or even a normal users jid 
(maybe an administrator with a special client that will display every 
presence it receives).

So I added to my jabber.xml:
    <jsm xmlns="jabber:config:jsm">
      ...
      </browse>

      <!-- This should send all presence packets to the slogger service -->
      <presence>
        <bcc>slogger.mydomain.org</bcc>
      </presence>
    </jsm>

But once again without success.

Can somebody help?

Thanks a lot

Philippe

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to