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

AWS 2-2: Improve Logging Configuration #111

Open
rajadain opened this issue Apr 9, 2024 · 0 comments
Open

AWS 2-2: Improve Logging Configuration #111

rajadain opened this issue Apr 9, 2024 · 0 comments
Assignees
Labels
AWS Funding Source: AWS bug

Comments

@rajadain
Copy link
Member

rajadain commented Apr 9, 2024

As of the GeoTrellis 3.7 upgrade in #110, we're seeing this behavior when running the geoprocessing service via scripts/server, and then running scripts/test in another tab:

api[ERROR] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
api[ERROR] SLF4J: Defaulting to no-operation (NOP) logger implementation
api[ERROR] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
api[ERROR] log4j:WARN Please initialize the log4j system properly.
api[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Fix the log4j configuration to address these messages.

@rajadain rajadain added the AWS Funding Source: AWS label Apr 9, 2024
@rajadain rajadain changed the title Improve Logging Configuration AWS 2-2: Improve Logging Configuration Apr 9, 2024
@rajadain rajadain added the bug label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWS Funding Source: AWS bug
Projects
None yet
Development

No branches or pull requests

2 participants