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

logging in json format does not work #8599

Open
d-croe opened this issue Mar 27, 2025 · 0 comments
Open

logging in json format does not work #8599

d-croe opened this issue Mar 27, 2025 · 0 comments

Comments

@d-croe
Copy link

d-croe commented Mar 27, 2025

logs are only formatted in json when setting the env variable of
the PGADMIN_CONFIG_DEBUG to true, but this is not an option in a productive environment.

To Reproduce

Steps to reproduce the behavior:
start deployment with setting PGADMIN_CONFIG_CONSOLE_LOG_LEVEL to '''DEBUG'',
PGADMIN_CONFIG_JSON_LOGGER to true and
PGADMIN_CONFIG_DEBUG to false
inspect logs

Expected behavior
following settings:
- name: PGADMIN_CONFIG_JSON_LOGGER
value: "True"
- name: PGADMIN_CONFIG_DEBUG
value: "False"
- name: PGADMIN_CONFIG_CONSOLE_LOG_LEVEL
value: '''WARNING'''
should log warning and errors in json format.

  • OS: Alpine linux 3.21.3
  • Version: dpage/pgadmin4:9.1.0
  • Mode: Server
  • Browser --
  • Package type: Container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants