X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) From: "Paul Hoadley" Received: from out5-smtp.messagingengine.com ([66.111.4.29] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26735534 for webobjects-dev@wocommunity.org; Thu, 04 Nov 2021 01:39:34 +0100 Received-SPF: none receiver=post.selbstdenker.com; client-ip=66.111.4.29; envelope-from=paulh@logicsquad.net Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2A1225C0197 for ; Wed, 3 Nov 2021 20:39:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 03 Nov 2021 20:39:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=eR/9SD 2VMH+rFmtcyNqO2mTzGVCaV6EKlxsOKutFuG8=; b=ay4aRnOEXVOFwYP67ZkhuT x1RQOq43J5r8i7BYSYDJq+Xm0hP4naIblFZSd9/RxwozctAw7qE35ZJM+h37TPEJ 9qL2la9me19B/oD+ZmleFq7hW1v0FXjSpCHH0MTl2k+l0jNN10PtQpECy51RZtMN wqhunvFJFEWHaphtSNII9s+yxUADtcukI1fiZbj5evmG3BxxxBA3rFLFzHJ8gdim hEflVBQhB6RwwBS1IZdwJ1bGNLXl9OxLfeAgBzefQtFQMdwj9nNyV0pFoJMMEYWB orUGY30gWBI+uGomxVedttttcFdG0K22ocOqp5vkwFdaD/qcAqza5vjtyOzvPo9A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdefgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhtggguffffhfvjgfkofesrgdtmherhhdtvdenucfhrhhomheprfgruhhlucfj ohgrughlvgihuceophgruhhlhheslhhoghhitghsqhhurggurdhnvghtqeenucggtffrrg htthgvrhhnpedtudeffeekteejvedtjeejfeduffduveefjeeuleekieehhfegheefkeeu hedtgeenucffohhmrghinheplhhoghhitghsqhhurggurdhnvghtpdhlihhnkhgvughinh drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehprghulhhhsehlohhgihgtshhquhgrugdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 3 Nov 2021 20:39:11 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_8418F65F-E46C-4DCC-ABDA-DF51AAA2814F" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [WO-DEV] WOMonitor on CentOS Date: Thu, 4 Nov 2021 11:09:07 +1030 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <7D088CDA-C540-4CE5-9996-5E381B6F2370@logicsquad.net> X-Mailer: Apple Mail (2.3445.104.21) --Apple-Mail=_8418F65F-E46C-4DCC-ABDA-DF51AAA2814F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, Just jumping into the middle of this: On 4 Nov 2021, at 04:22, Valerio Luccio = wrote: > not sure I'm following this.=20 >=20 > Which Application dispatchRequest am I supposed to monitor ? The = application I wrote ? wotaskd ? WOMonitor ? >=20 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 =3D " + request); LOG.trace("request.uri() =3D " + request.uri()); return super.dispatchRequest(request); } Where LOG is a logger object of whatever type you use. --=20 Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/ --Apple-Mail=_8418F65F-E46C-4DCC-ABDA-DF51AAA2814F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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 =3D " + request);
= LOG.trace("request.uri() =3D " + 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/

= --Apple-Mail=_8418F65F-E46C-4DCC-ABDA-DF51AAA2814F--