jellyfin-plugin-webhook icon indicating copy to clipboard operation
jellyfin-plugin-webhook copied to clipboard

Unable to get the plugin to work.

Open rems25000 opened this issue 2 years ago • 2 comments

Good morning, I am on version 10.8.9 of jellyfin I am asked to add:

    "Serilog": {
        "MinimumLevel": {
            "Default": "Information",
            "Override": {
                "Microsoft": "Warning",
                "System": "Warning",
**+               "Jellyfin.Plugin.Webhook": "Debug"**
            }
        }

Except my logging.json looks like this:

{
    "Serilog": {
        "MinimumLevel": "Information",
        "WriteTo": [
            {
                "Name": "Console",
                "Args": {
                    "outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
                }
            },
            {
                "Name": "Async",
                "Args": {
                    "configure": [
                        {
                            "Name": "File",
                            "Args": {
                                "path": "%JELLYFIN_LOG_DIR%//jellyfin.log",
                                "fileSizeLimitBytes": 10485700,
                                "rollOnFileSizeLimit": true,
                                "retainedFileCountLimit": 10,
                                "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
                            }
                        }
                    ]
                }
            }
        ]
    }
}

Unable to get the plugin to work.

rems25000 avatar Feb 27 '23 17:02 rems25000

Looks like you have a pretty old logging.json You should be able to just swap out "MinimumLevel": "Information", for

"MinimumLevel": {
            "Default": "Information",
            "Override": {
                "Microsoft": "Warning",
                "System": "Warning",
                "Jellyfin.Plugin.Webhook": "Debug"
            }
        },

crobibero avatar Feb 27 '23 17:02 crobibero

I'm on the latest version of Jellyfin 10.8.9 clean installs (No other version previously installed.): image I would rather say that I am on the latest version for debian :p

if I put the code in logging.json jellyfin does not start anymore.

rems25000 avatar Feb 27 '23 18:02 rems25000