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 noise in catalina.out log in staging and prod #144

Open
rogerdahl opened this issue Aug 21, 2024 · 1 comment
Open

Reduce noise in catalina.out log in staging and prod #144

rogerdahl opened this issue Aug 21, 2024 · 1 comment
Assignees
Labels
feature New feature medium priority Medium priority production Deployed to production environment staging Deployed to staging environment

Comments

@rogerdahl
Copy link
Collaborator

For Portal prod and staging, reduce verbosity in catalina.out by increasing the log level of this logger:

./WebRoot/WEB-INF/conf/log4j.properties

TODO: Ask Mark for logger location.

@rogerdahl rogerdahl added feature New feature medium priority Medium priority labels Aug 21, 2024
@rogerdahl rogerdahl self-assigned this Aug 21, 2024
@rogerdahl rogerdahl moved this to In progress in Consolidated Issues Aug 21, 2024
@servilla
Copy link
Collaborator

servilla commented Aug 21, 2024

The following entry was added to both portal and portal-s in ./DataPortal/WebRoot/WEB-INF/conf/log4j.properpties:

log4j.logger.edu.lternet.pasta.portal.listener.SessionListener=WARN

This will now only emit a log message if the log level is set to WARN or more severe.

@rogerdahl rogerdahl added staging Deployed to staging environment production Deployed to production environment labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature medium priority Medium priority production Deployed to production environment staging Deployed to staging environment
Projects
Status: Done
Development

No branches or pull requests

2 participants