[Wishlist] Mark logentries as gatewayplugin-logentries

Hi,

like written at http://www.igniterealtime.org/forum/thread.jspa?threadID=25968&tstart=0 I would like to see the logentries flagged as gateway-logentries.

It would help much when analysing a log to see wether the entry is done by the plugin or by openfire itself.

instead of

Log.debug("OSCAR snac packet received: "+e);

I would prefer

Log.debug("gateway: OSCAR snac packet received: "+e);

This should be possible to be done by a handfull search&replace-actions.

It’'s nothing important, just another stupid idea

Greetings

WarEagle

There’'s already an issue to address the logs issue: GATE-120

In that particular case, I was considering the idea of sending them to entirely different logs instead of incorporating them amongst the current logs. Of course, that may not be the best way to go.

I’‘d actually rather see the concept implemented ‘‘globally’’ if possible, instead of just in the gateway plugin. Would be nice if the logging mechanism auto-detected where the log was coming from. Or something along those lines. The logging mechanism “appears” to support such a thing already if you look at the code, but it doesn’'t really appear to be implemented.