Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openwis v3.14.10 and v3.15 - removing useless log INFO in Dataservice server.log #352

Open
yvesgoupil opened this issue Mar 3, 2021 · 2 comments

Comments

@yvesgoupil
Copy link
Collaborator

To avoid having these useless INFO lines in Wildfly server.log:

 2021-03-03 09:33:09,027 INFO  [org.openwis.dataservice.common.util.ConfigServiceFacade] (EJB default - 1) Using ConfigServiceFacade to look up 'cache.dir.harness.outgoing'.  The value was '/data/openwis/harness/outgoing'
 2021-03-03 09:33:09,027 INFO  [org.openwis.dataservice.common.util.ConfigServiceFacade] (EJB default - 1) Using ConfigServiceFacade to look up 'cache.gts.util.databaseAccessor.url'.  The value was 'java:global/openwis-dataservice/openwis-dataservice-cache-ejb/FilePackerDatabaseAccessor!org.openwis.dataservice.util.FilePackerDatabaseAccessor'
 2021-03-03 09:33:09,028 INFO  [org.openwis.dataservice.common.util.ConfigServiceFacade] (EJB default - 1) Using ConfigServiceFacade to look up 'cache.gts.util.databaseAccessor.url'.  The value was 'java:global/openwis-dataservice/openwis-dataservice-cache-ejb/FilePackerDatabaseAccessor!org.openwis.dataservice.util.FilePackerDatabaseAccessor'
 2021-03-03 09:33:09,028 INFO  [org.openwis.dataservice.common.util.ConfigServiceFacade] (EJB default - 1) Using ConfigServiceFacade to look up 'cache.gts.util.databaseAccessor.url'.  The value was 'java:global/openwis-dataservice/openwis-dataservice-cache-ejb/FilePackerDatabaseAccessor!org.openwis.dataservice.util.FilePackerDatabaseAccessor'  

Remove or comment the line :

 log.info("Using ConfigServiceFacade to look up '" + key + "'.  The value was '" + value + "'");

in

 openwis/openwis-dataservice/openwis-dataservice-common/openwis-dataservice-common-utils/src/main/java/org/openwis/dataservice/common/util/ConfigServiceFacade.java
@solson-nws
Copy link
Contributor

@yvesgoupil : Please consider uploading this to 3.15 repo as a pull request

@solson-nws
Copy link
Contributor

@yvesgoupil - Has a fix been identified and made? If so, can you create a pull request for this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants