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

Reduce verbose logging for property file search #3

Open
stain opened this issue May 19, 2015 · 0 comments
Open

Reduce verbose logging for property file search #3

stain opened this issue May 19, 2015 · 0 comments
Assignees

Comments

@stain
Copy link
Contributor

stain commented May 19, 2015

On startup, there is quite a verbose log output from loading of property files and data sources, which can be misleading as it seems like an error:

nable to find /opt/ims/log4j.properties in local Directory
Loaded file log4j.properties using BRIDGEDB_CONFIG from /opt/ims/conf/BridgeDb/log4j.properties
Looking for BridgeDb.properties
Unable to find /opt/ims/BridgeDb.properties in local Directory
No file BridgeDb.properties found in BRIDGEDB_CONFIG directory /opt/ims/conf/BridgeDb
No directory /conf/BridgeDb found in $CATALINA_HOME directory /usr/share/apache-tomcat-7
No directory found at: ../conf/BridgeDb at /opt/ims/../conf/BridgeDb
Loaded BridgeDb.properties from file:/opt/ims/work/Catalina/localhost/QueryExpander/loader/BridgeDb.properties with class loader.
Looking for local.properties
Unable to find /opt/ims/local.properties in local Directory
Loaded file local.properties using BRIDGEDB_CONFIG from /opt/ims/conf/BridgeDb/local.properties
Looking for DataSource.ttl
Unable to find /opt/ims/DataSource.ttl in local Directory
No file DataSource.ttl found in BRIDGEDB_CONFIG directory /opt/ims/conf/BridgeDb
No directory /conf/BridgeDb found in $CATALINA_HOME directory /usr/share/apache-tomcat-7

Perhaps this search path for properties could be reduced, or at least prefix such logging with "DEBUG" rather than look like an error?

@stain stain self-assigned this May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant