Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Debug logging in org.eclipse.equinox.p2.metadata.repository.mirrorApplication
Debug logging in org.eclipse.equinox.p2.metadata.repository.mirrorApplication [message #1855021] Fri, 23 September 2022 19:05 Go to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,

I want to use the org.eclipse.equinox.p2.metadata.repository.mirrorApplication on the commandline, which is generally working for me.
A current drawback is that I recieve tons of debug messages like
20:55:03.382 [Worker-0: File Transport Reader] DEBUG org.apache.hc.client5.http.wire - http-outgoing-0 << "[0xffffffcf]x([0xffffffef][0xffffffc6]>[0xffffffe9][0xffffff9c][0xffffff9a][0xffffffa8][0xfffffff3][0x4]$[0xffffffdd][0xffffffb5][0xffffffc5]9[0xffffffb0][0xffffffa0]04[0xffffffdf][0xffffffd4][0xffffff8c][0x17][0xffffffe3][0xffffffcb]>[0xffffffd2][0xffffff95][0x16][0xffffff8b]][0xffffffd3][0xffffffd0]qRd@[0xffffffb3][0x15][0xffffff97]>[0xffffffd1][0xffffffc1]D[0xffffffab][0xffffffba][0x10][0xffffffe1][0xffffff95] [0xffffffbf][0x18][0xffffff93][0xffffffd9]/~B[0xfffffff7][0xffffffe9]Z[0xffffff90][0xffffffbf][0xffffffae][0xffffffd1][\r]y<[0xffffffab][0xffffffcb][0xffffffa1][0x9]R[0xffffffd1]8[0xffffffb0][0xfffffff6][0xffffffee][0xffffffb4]}[0xffffffe7]dd[0xffffff80][0xffffffa9][0xffffffee]*[0xffffffa2][0xffffffe0][0xffffffd1]K[0xffffffdc]'[0x1d]=2T[0xfffffff6][0xffffffbd][0x6]Ok7M[0xffffff92][0xffffff8b]e[0xffffffc2]M[0xffffffb4]E=_[0xffffffab][0xffffff8d][0xb][0xffffff96]>+[0xffffffb9]X[0x1b]B}[0xffffff82]Q[0xffffff83]L[0xffffff81][0xffffffd6][0xffffffe9]FI[0x1][0xffffffca][0x6]I-J'[0xffffffca]-[0xfffffff6]|[0xffffff9f]m[0xfffffffc][0xffffff95][0xffffffd3][0xffffff9f]'![0xffffffda][0xffffffe2]Rl[0xffffffde][0xffffffb7]&u[0xffffff94][0xffffffbb][0xffffff95][0xffffffee]O[0xffffffd7][0xffffff9c]9[0xffffffdc]Z=[0xffffffe9]S[0xf][0xffffff93][0xffffffdf]j[0xffffffd5][0xffffffdd][0xffffffcd][0xffffffa9]J?-[0xffffffd4][0xfffffff8][0xffffffc6]4[0xffffffa5][0xffffffb3][0xfffffffb][0xffffffb8][0x19][0x1a][0x2][0xffffffbe]}aw[0x13][0xffffffb7][0x11][0xffffffb8]V>6[0xffffffa2]x[\n]"

I am using a mac. Can you please give me input how I can manage to set loglevel to INFO?
Thanks in advance
Regards
Markus
Re: Debug logging in org.eclipse.equinox.p2.metadata.repository.mirrorApplication [message #1855024 is a reply to message #1855021] Sat, 24 September 2022 06:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33224
Registered: July 2009
Senior Member
I'm not sure, but it sounds very similar to this:

https://travis-ci.community/t/the-log-is-filled-with-org-apache-http-wire-debug-messages/9501/21

I Goggled "set log level for org.apache.hc.client5.http.wire" and it seems your not the only one wanting to turn this off.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Debug logging in org.eclipse.equinox.p2.metadata.repository.mirrorApplication [message #1855045 is a reply to message #1855024] Mon, 26 September 2022 07:04 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Ed,

thanks for your reply....

As I understood this should be solveable with lowering log level. I already tried this by appending
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.showdatetime=true
-Dorg.apache.commons.logging.simplelog.log.org.apache.http=ERROR
-Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=ERROR

to eclipse.ini, which did not work.
So in the link, that you have sent, they speak about changing logback.xml

My question is:
What logger exactly is used in terms of p2 and how can I lower the loglevel???

Thanks in advance
Markus
Re: Debug logging in org.eclipse.equinox.p2.metadata.repository.mirrorApplication [message #1855048 is a reply to message #1855045] Mon, 26 September 2022 08:54 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33224
Registered: July 2009
Senior Member
Under the covers, p2 uses ECF which uses org.apache.httpcomponents.client5.httpclient5 5.1.2.v20211217-1500 and as far as I can tell, I don't think p2 itself does any logging related to what you show in this post. I really don't know if there are ECF settings related to this or what magical things one needs to do to enable disable such logging. Sorry. :-(

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Issue with org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
Next Topic:EclipseLogListener Unhandled event loop exception - instance of org/eclipse/osgi/internal/baseadapto
Goto Forum:
  


Current Time: Wed Oct 09 23:32:58 GMT 2024

Powered by FUDForum. Page generated in 0.03737 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top