X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mout.gmx.net ([212.227.17.20] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.13d) with ESMTPS id 28351460 for webobjects-dev@wocommunity.org; Wed, 10 Aug 2022 17:50:44 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=212.227.17.20; envelope-from=rasc@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1660146623; bh=FTuNt9IrzR0e1ckLCtGGYWP3pYA8KRIHeyU2uJ0I2BA=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=ZP/uPv5gSeqomjREF4TmKjOOERg09bFLhg84g6Jpl6CBIx7xNnyi1Lv3LKPPw2rpL WxtFkRzj6BlsZ8YqSrGOGI5Wo9RGdhSafjoEhpu76F4+P7Vqqelb/+SqulzDNI1kvr VyJJgd+oK1FNK8PRXk1RLjQCnVN+G0v+08+JZkwI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.42.66] ([193.142.190.210]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95iR-1nHtbE1cIB-0164Jr for ; Wed, 10 Aug 2022 17:50:23 +0200 From: Ralf Schuchardt To: "WebObjects & WOnder Development" Subject: Re: [WO-DEV] Logging issue Date: Wed, 10 Aug 2022 17:49:53 +0200 X-Mailer: MailMate (1.14r5895) Message-ID: <137132B3-05DD-42E3-8223-509CF0170732@gmx.de> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_D084F398-939F-46A0-A0CE-F1B1476FA8F7_=" Embedded-HTML: [{"plain":[418,4468],"uuid":"104A1EB0-C195-4884-8E60-683AA1865D7B"}] X-Provags-ID: V03:K1:OwgCNF93Jb/xlX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fm axmr40TiOxf0Yw1UGPMvk5V7AJbZdv+3MthOdWAuEKKhuHaSuAzjdIlkkcs6MstIs5M5JVKnB B6eiK+awtTvwSwfxsi9f3KtnJ5LjuJMijC0Kun2zu3T7W/H/vcZJ8zXjMy3Qg865Mlh5H7LJe iNxN5aDlaN5K8efYmVBP2c2Y3jxvA9fScJsIXejN6uTQPP0o7+OLmn02eOZ3derSwr+pSkHEt v98pAHLPdgKklzbPy0H0HqI2qPI0qEIKc8lZhfLxRkURSZxttUcjXqkqqQUdsqo7nuQ8385EM 70RaEgXhXBBLsnoWO9Uix+BNFMirGYSlW7T --=_MailMate_D084F398-939F-46A0-A0CE-F1B1476FA8F7_= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable It comes from `WODynamicURL` and it is logged on NSLogs `Detailed` (3 =3D= = DEBUG) debug level for the groups `DebugGroupValidation` and = `DebugGroupWebObjects`. So either lower the log level for `ERXNSLogLog4jBridge` or = `NSDebugLevel`, or exclude both debug groups from the = `-DNSDebugGroups=3D`=E2=80=A6 property or call = `NSLog.refuseDebugLoggingForGroups(=E2=80=A6)`. Ralf On 10 Aug 2022, at 16:59, Markus Ruggiero (rucotec) wrote: >> On 10 Aug 2022, at 14:31, Markus Ruggiero (rucotec) = >> wrote: >> >> Wow, thanks, works great, just what I needed (the direct action = >> thing, didn't know this). >> > Sorry, too fast :-( > Still no success. Messages still coming. > > ERXNSLogLog4jBridge is simply forwarding the debug info from deep down = > inside WebObjects binaries to the debug output stream. Stepping = > through binary code is not so much fun and I was not successful to = > find out where the message was sent to the debug out stream. Probably = > need to dig way deeper, maybe with the help of a java disassembler. > > Thanks anyway. Maybe someone has done this already once and can help = > with an idea. > >> >>> On 10 Aug 2022, at 00:57, Ramsey Gurley = >>> >> > wrote: >>> >>> What do your logging properties look like? Have you tried, >>> >>> log4j.logger.er.extensions.ERXNSLogLog4jBridge =3D INFO >>> >>> If you're using wonder's ERXDirectAction you can also toggle loggers = >>> at >>> >>> /cgi-bin/WebObjects/YourApp.woa/wa/log4j >>> >>> while it's running in eclipse to figure out what is going on. >>> >>> From: WebObjects & WOnder Development on behalf of Markus Ruggiero = >>> (rucotec) >>> Sent: Tuesday, August 9, 2022 6:33 AM >>> To: WebObjects & WOnder Development >>> Subject: [WO-DEV] Logging issue >>> >>> How do I get rid of these? They clog the log and I am not able to = >>> find and trace other events that are of interest. The application = >>> runs in DEBUG but what property do I have to set to only get ERRORs = >>> or WARNINGs from these ajax requests? >>> >>> This is from an AjaxPing with a 2 second frequency. >>> >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 0 stop 70 currentIndex 19 value /cgi-bin/WebObjects >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 19 stop 70 currentIndex 29 value xeoMED >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 29 stop 70 currentIndex 29 value >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 29 stop 70 currentIndex 34 value ajax >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 34 stop 70 currentIndex 69 value = >>> 1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3 >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> start 69 stop 110 currentIndex 110 value = >>> _u=3DPanelSignin_UpdatePing&1660051781849 >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 = >>> decomposed = >>> /cgi-bin/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.= 3?_u=3DPanelSignin_UpdatePing&1660051781849 >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects start 0 stop 19 currentIndex 19 value = >>> /cgi-bin/WebObjects >>> DEBUG 08/09 15:29:41 (ERXNSLogLog4jBridge.java:47) - url = >>> /cgi-bin/WebObjects decomposed /cgi-bin/WebObjects/.woa >>> >>> >>> Thanks a lot >>> ---markus--- >>> >>> >>> Confidentiality Notice: This email, including all attachments and = >>> replies thereto, are covered by the Electronic Communications = >>> Privacy Act, 18 U.S.C. Sections 2510-2521 and are legally = >>> privileged. This information is confidential, and intended only for = >>> the use of the individuals or entities named above. If you are not = >>> the intended recipient, you are hereby notified that any disclosure, = >>> copying, distribution or the taking of any action in reliance on the = >>> contents of this transmitted information is strictly prohibited. = >>> Please notify us if you have received this transmission in error. = >>> Thank you. >> >> >> >> > > > Markus Ruggiero > > rucotec GmbH web https://rucotec.ch > Leonhardsberg 1 email markus.ruggiero@rucotec.ch > 4051 Basel / Switzerland mobile +41 79 508 4701 --=_MailMate_D084F398-939F-46A0-A0CE-F1B1476FA8F7_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

It comes from WODynamicURL a= nd it is logged on NSLogs Detailed (3 =3D DE= BUG) debug level for the groups DebugGroupValidatio= n and DebugGroupWebObjects.
So either lower the log level for ERXNSLogLog4jBrid= ge or NSDebugLevel, or exclude both d= ebug groups from the -DNSDebugGroups=3D=E2=80= =A6 property or call NSLog.refuseDebugLoggingForGro= ups(=E2=80=A6).

Ralf

On 10 Aug 2022, at 16:59, Markus Ruggiero (rucotec) wrote= :

Still no success. Messages still coming.

ERXNSLogLog4jBridge is simply forwarding the debug info from d= eep down inside WebObjects binaries to the debug output stream. Stepping = through binary code is not so much fun and I was not successful to find o= ut where the message was sent to the debug out stream. Probably need to d= ig way deeper, maybe with the help of a java disassembler.

Thanks anyway. Maybe someone has done this already once and ca= n help with an idea.



What do your = logging properties look like? Have you tried,

log4j.logger.er.extensions.ERXNSL= ogLog4jBridge =3D INFO

If you're using wonder's ERXDirectAct= ion you can also toggle loggers at

/cgi-bin/WebObjects/YourApp.woa/wa/lo= g4j

while it's running in eclipse to figu= re out what is going on.


From: WebO= bjects & WOnder Development on behalf of Markus Ruggiero (rucotec)
Sent: Tues= day, August 9, 2022 6:33 AM
To: WebObj= ects & WOnder Development
Subject: [= WO-DEV] Logging issue

DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 0 stop 70 currentIndex 19 valu= e /cgi-bin/WebObjects
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 19 stop 70 currentIndex 29 val= ue xeoMED
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 29 stop 70 currentIndex 29 val= ue 
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 29 stop 70 currentIndex 34 val= ue ajax
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 34 stop 70 currentIndex 69 val= ue 1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 start 69 stop 110 currentIndex 110 v= alue _u=3DPanelSignin_UpdatePing&1660051781849
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects/xeoMED.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPane= lSignin_UpdatePing&1660051781849 decomposed /cgi-bin/WebObjects/xeoME= D.woa/ajax/1BtvOJ42un7mxNmIvOxbB0/0.11.17.3.3?_u=3DPanelSignin_UpdatePing= &1660051781849
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects start 0 stop 19 currentIndex 19 value /cgi-bin/WebObjects
DEBUG 0= 8/09 15:29:41 (ERXNSLogLog4jBridge.java:47)  - url /cgi-bi= n/WebObjects decomposed /cgi-bin/WebObjects/.woa


Thanks a lot
---markus---



Confidentiality Notice: This email, including all attachments and replies = thereto, are covered by the Electronic Communications Privacy Act, 18 U.S= =2EC. Sections 2510-2521 and are legally privileged. This information is = confidential, and intended only for the use of the individuals or entitie= s named above. If you are not the intended recipient, you are hereby noti= fied that any disclosure, copying, distribution or the taking of any acti= on in reliance on the contents of this transmitted information is strictl= y prohibited. Please notify us if you have received this transmission in = error. Thank you.






--=_MailMate_D084F398-939F-46A0-A0CE-F1B1476FA8F7_=--