From 2929e5c7934a1abc9b05f7917767ca8afe4862b6 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Sun, 12 Jun 2022 17:46:49 -0500 Subject: [PATCH] Add documentation on how to enable debug logs --- docs/debug_logs.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/debug_logs.md diff --git a/docs/debug_logs.md b/docs/debug_logs.md new file mode 100644 index 0000000..f8724d7 --- /dev/null +++ b/docs/debug_logs.md @@ -0,0 +1,40 @@ +# How to enable plugin debug logs + +1. Browse to your Jellyfin config folder +2. Make a backup copy of `config/logging.default.json` before editing it +2. Open `config/logging.default.json` with a text editor. The top lines should look something like this: + +```jsonc +{ + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "System": "Warning" + } + }, + // rest of file ommited for brevity + } +} +``` + +3. Inside the `Override` section, add a new entry for `ConfusedPolarBear` and set it to `Debug`. The modified file should now look like this: + +```jsonc +{ + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "Microsoft": "Warning", + "System": "Warning", // be sure to add the trailing comma after "Warning", + "ConfusedPolarBear": "Debug" // newly added line + } + }, + // rest of file ommited for brevity + } +} +``` + +4. Save the file and restart Jellyfin