Add documentation on how to enable debug logs
This commit is contained in:
parent
42b00dc1a4
commit
2929e5c793
40
docs/debug_logs.md
Normal file
40
docs/debug_logs.md
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user