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

v2.19: Make setting logging level possible #10

Open
wants to merge 13 commits into
base: 2.19-maintenance
Choose a base branch
from

Conversation

JakobMiksch
Copy link
Contributor

@JakobMiksch JakobMiksch commented May 30, 2022

  • Make setting logging level possible by providing the environment variable GEOSERVER_LOG_LEVEL
  • The environment variable USE_STD_OUT_LOGGING defines if logging should be done to standard out.
  • It also works when a volume is mounted on the host system.
  • Custom logging profiles can be used by placing them in the GeoServer data directory

@JakobMiksch JakobMiksch marked this pull request as draft May 30, 2022 14:35
@JakobMiksch JakobMiksch marked this pull request as ready for review May 30, 2022 15:11
@chrismayer
Copy link
Collaborator

chrismayer commented Jun 20, 2022

Maybe it is better not to place the logging profiles directly into geoserver_data/ (geoserver_data/logs/), which is quite often used as a direct mount point. I think adding a new folder logging_profiles at root level and copying the content in the build step might be a better option.

@JakobMiksch
Copy link
Contributor Author

@chrismayer I updated the PR - now the usage of a mounted volume works as it should be.

@JakobMiksch JakobMiksch requested a review from chrismayer June 20, 2022 14:54
@JakobMiksch JakobMiksch changed the title Make setting logging level possible 2.19 Make setting logging level possible Jun 21, 2022
@JakobMiksch JakobMiksch changed the title 2.19 Make setting logging level possible v2.19: Make setting logging level possible Jun 21, 2022
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

Successfully merging this pull request may close these issues.

2 participants