Access Logger Plugin

Hey all,

I wrote a plugin that logs all logins and logouts to an Openfire server to a remote syslog server. The plugin and source are attached. Hopefully someone finds this useful. If anyone has any input on this, let me know.

Thanks!

this will be a good addition for auditing logs but were do it store the log (what filename to be specific)… thanks

It logs to a remote syslog server, so where the log goes will depend on the syslog configuration. Likely into /var/log/remote/HOSTNAME/messages on the remote server. Unfortunately it must log over the network because local logging with syslog would require native code.