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

Database logging: Log targets, log levels #2168

Open
ChristianGruen opened this issue Feb 2, 2023 · 2 comments
Open

Database logging: Log targets, log levels #2168

ChristianGruen opened this issue Feb 2, 2023 · 2 comments
Labels
Milestone

Comments

@ChristianGruen
Copy link
Member

ChristianGruen commented Feb 2, 2023

Discussion: https://mailman.uni-konstanz.de/pipermail/basex-talk/2023-February/017801.html

With the LOG option, logging of server operations and HTTP requests can be turned on/off.

The option should be replaced by a more fine granular solution, which allows you to turn specific log entries on/off:

  • successful vs. erroneous requests
  • database server operations vs. HTTP requests vs. custom logs (admin:write-log)

Related: #940

@ChristianGruen ChristianGruen added this to the 11 milestone Sep 25, 2023
@ChristianGruen ChristianGruen modified the milestones: 11, 12 Jul 8, 2024
@ChristianGruen
Copy link
Member Author

With a32a63a, stdout can be experimentally assigned to LOG to additionally redirect log to standard output.

ChristianGruen added a commit that referenced this issue Sep 17, 2024
@ChristianGruen
Copy link
Member Author

Apart from stdout, stderr and slf4j can now be specified a log target: https://docs.basex.org/12/Options#log

Feedback is welcome.

@ChristianGruen ChristianGruen changed the title Database logging: Log levels Database logging: Log targets, log levels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant