JabLogger: A logging proxy for Jabber messages.
Spiro Michaylov: spiro AT michaylov DOT com
This is an open source (MIT-style license) tool for logging Jabber messages.
Latest release (recommended): Beta version 0.5.0 (zip file).
JabLogger is a proxy server for Jabber messages that logs all messages sent in individual per user log files. JabLogger listens on the port advertised as the Jabber server port on a given host (called the “proxy port”). The Jabber server is setup to listen on a different port (celled the “server port”) on the same host or a different host. When clients connect to the proxy port, a dedicated TCP/IP connection is established by JabLogger to the server port on their behalf, so that the presence of JabLogger is transparent to both the Jabber clients and the Jabber server. All messages are logged in one directory with time and date stamps and “to” and “from” data. Only messages sent to or from clients that are connected to the JabLogger are logged.
There are two typical ways to use JabLogger:
- A single user could choose to always connect to a Jabber server through JabLogger to get all their incoming and outgoing messages logged for their own personal use.
- An entire organization could require all users to connect to their Jabber server through JabLogger to ensure that all messages are logged. In some industries and some occupations such logging of instant messages and chat is, or soon will be, required by law.
Installation
JabLogger is not limited to any specific OS, but the script provided for running it is a Windows .bat file. You will probably need to edit this file at least to specify the path to your Java installation (JDK 1.4.0 or JRE 1.4.0.) To run JabLogger, simply run the jablogger.bat script with four arguments as follows:
- port that JabLogger listens on (the proxy port)
- port that the Jabber server listens on (the server port)
- host the jabber server runs on (host name or IP address)
- path to a the directory in which log files are to be placed (will be created if it does not exist)
For example:
jablogger 9999 5222 jabberhost.mycompany.com c:\temp\JabberLogs
if your Jabber server runs on jabberhost.mycompany.com listening on port 5222, users will connect to port 9999 to use JabLogger, and logs will be saved in c:\temp\JabberLogs on the host where JabLogger runs.
JabLogger is implemented in Java. It is compiled using Java 2 SDK v1.4.0_01.
This product includes software developed by the Apache Software Foundation (http://www.apache.org/)
|