Mailing List webobjects-dev@wocommunity.org Message #318
From: Paul Hoadley <webobjects-dev@wocommunity.org>
Subject: Re: [WO-DEV] WOMonitor on CentOS
Date: Thu, 4 Nov 2021 11:09:07 +1030
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Hello,

Just jumping into the middle of this:

On 4 Nov 2021, at 04:22, Valerio Luccio <webobjects-dev@wocommunity.org> wrote:

not sure I'm following this. 

Which Application dispatchRequest am I supposed to monitor ? The application I wrote ? wotaskd ? WOMonitor ?

On my reading, Hugi meant that you should do something like this in Application.dispatchRequest() for the application you wrote:

@Override
public WOResponse dispatchRequest(WORequest request) {
LOG.trace("      request = " + request);
LOG.trace("request.uri() = " + request.uri());
return super.dispatchRequest(request);
}

Where LOG is a logger object of whatever type you use.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster