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

Add: logs guide #93

Merged
merged 3 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions content/guides/16.server_logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Server logs
slug: server_logs
fullpath: /guides/server_logs
---

---

# Introduction
This page discusses how logging works on the server.
Log settings are located in the server settings under "Logs" in the left pane.

# Server Logs
By default, server log levels are set to `Info`.
The 3 log levels in order of increasing information are `Warn`, `Info`, and `Debug`.
Logs can be viewed in the web browser, but all logs are stored in `/metadata/logs` as JSON files.
Note that logs are stored based on the log level setting, so if you are logging as `Info` no `Debug` logs are stored.

![Log Settings](/guides/server_logs/logs.png)

# Crash logs
Beginning with server version 2.8.0, crash logs are stored in `/metadata/logs/crash_logs.txt`.
This file will include more information than the normal log files.
If the server is crashing and you do not see anything in `crash_logs.txt`, you will need to check the logs of however you are running the server (Docker container logs, etc).
Binary file added static/guides/server_logs/logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.