You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "hansva (via GitHub)" <gi...@apache.org> on 2023/03/17 15:06:59 UTC
[GitHub] [hop] hansva opened a new issue, #2682: [Bug]: unwanted loglines REST client
hansva opened a new issue, #2682:
URL: https://github.com/apache/hop/issues/2682
### Apache Hop version?
2.4
### Java version?
11
### Operating system
Windows
### What happened?
Migration: https://issues.apache.org/jira/browse/HOP-4643
Regression in version 2.2.0, when REST Client is called, following output is written to stderr regardless logging level
```
Nov 29, 2022 4:46:47 PM org.glassfish.jersey.message.internal.MessagingBinders$EnabledProvidersBinder bindToBinder
WARNING: A class javax.activation.DataSource for a default provider MessageBodyWriter<javax.activation.DataSource> was not found. The provider is not available.
```
### Issue Priority
Priority: 3
### Issue Component
Component: Transforms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1566257038
That Jersey's messages go through JUL. So, I've made a file `fixlog.properties`
```
org.glassfish.jersey.message.internal.MessagingBinders.level=SEVERE
```
then pass it via `set "HOP_OPTIONS=-Xmx2048m -Djava.util.logging.config.file=fixlog.properties"`
After this `hop-run` goes without such noise.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1579018336
Right. I rebuild `master` with jersey:2.38 run GUI with HTTPPost transform and got WARN only once.
```
2023/06/06 18:43:02 - Fake data - products.0 - Finished processing (I=0, O=0, R=10, W=10, U=0, E=0)
Jun 06, 2023 6:43:03 PM org.glassfish.jersey.message.internal.MessagingBinders$EnabledProvidersBinder bindToBinder
WARNING: A class javax.activation.DataSource for a default provider MessageBodyWriter<javax.activation.DataSource> was not found. The provider is not available.
2023/06/06 18:43:05 - Index products.0 - Finished processing (I=0, O=0, R=10, W=10, U=0, E=0)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] data-vader commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "data-vader (via GitHub)" <gi...@apache.org>.
data-vader commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1546754240
Hi, as a workaround, is it possible to fix this error by installing the required org.glassfish.message.interal JAR-File?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] hansva commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1565714839
We have slf4j in the application, by default we add slf4j-nop but you could use slf4j-log4j or another bridge and a configuration file to tweak your own logging
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] data-vader commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "data-vader (via GitHub)" <gi...@apache.org>.
data-vader commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1566809322
Thank you @mkhludnev.
Since Java is not my familiar programming language, I have tried to adjust the dependancy in the pom.xml for the rest-transform. So far unfortunately without success, because building/compiling throws an error.
Did i understand you correctly? All I have to do is, to extend the HOP_OPTIONS with in the hop-run.sh with "Djava.util.logging.config.file=fixlog.properties" to avoid the error-messages?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1564374978
found this explanation in another project https://github.com/eclipse-ee4j/jaxb-ri/issues/1222
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1567206518
Hi, @data-vader
Right. Create properties file as described above, and then refer to it via `-D` note dash matters.
For the reference:
https://docs.oracle.com/javase/8/docs/api/java/util/logging/LogManager.html
https://docs.oracle.com/javase/6/docs/technotes/tools/windows/java.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1565689195
Btw, how to tweak logs to suppress a certain logging category?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1567292385
Another approach is to forward JUL to slf4j however it might hurt performance https://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1577496748
it seems like it's fixed in jersey https://github.com/eclipse-ee4j/jersey/pull/5165
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] mkhludnev commented on issue #2682: [Bug]: unwanted loglines REST client
Posted by "mkhludnev (via GitHub)" <gi...@apache.org>.
mkhludnev commented on issue #2682:
URL: https://github.com/apache/hop/issues/2682#issuecomment-1577507699
Can't we just bump https://github.com/apache/hop/blob/master/engine/pom.xml#L43 to 2.38 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: unwanted loglines REST client (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #2682: [Bug]: unwanted loglines REST client
URL: https://github.com/apache/hop/issues/2682
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org