• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Error setting up debug logging

     
    • 0 Vote(s) - 0 Average

    Error setting up debug logging

    neilr8133
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    Country:United States
    #1
    1 hour ago
    I apologize for what is probably a simple question, but I'm seeing an error in the setup of a debug logger per https://jellyfin.org/docs/general/admini...ug-logging on Windows with Jellyfin 10.11.0 through 10.11.3 and would appreciate some help.  (Ultimately I'm trying to confirm if I'm having the same problem as https://github.com/jellyfin/jellyfin/issues/15000 but the stack overflow is too long to see the first few lines in my terminal scrollback buffer and the log doesn't show the DBG messages.)

    Per the instructions at the troubleshooting page (and in #15000) I created "C:\ProgramData\Jellyfin\Server_data\config\logging.json" with the following content:

    Code:
    C:\ProgramData\Jellyfin\Server_data\config>type logging.json
    {
      "Serilog": {
        "MinimumLevel": {
          "Default": "Debug",
          "Override": {
            "": "Debug"
          }
        }
      }
    }

    C:\ProgramData\Jellyfin\Server_data\config>

    but when I launch the server I get an error about an invalid logging configuration before the server then proceeds to launch normally:

    Code:
    C:\notused\daily\1>"C:\Program Files\Jellyfin\Server\jellyfin.exe" --datadir "C:\ProgramData\Jellyfin\Server_data"
    [06:03:52] [FTL] [2] : Failed to create/read logger configuration
    System.ArgumentException: A source source must be provided. (Parameter 'source')
      at Serilog.Configuration.LoggerMinimumLevelConfiguration.Override(String source, LoggingLevelSwitch levelSwitch)
      at Serilog.Settings.Configuration.ConfigurationReader.<>c__DisplayClass11_1.<ApplyMinimumLevel>b__3(LoggerMinimumLevelConfiguration configuration, LoggingLevelSwitch levelSwitch)
      at Serilog.Settings.Configuration.ConfigurationReader.<>c__DisplayClass11_0.<ApplyMinimumLevel>g__ApplyMinimumLevelConfiguration|1(IConfigurationSection directive, Action`2 applyConfigAction)
      at Serilog.Settings.Configuration.ConfigurationReader.ApplyMinimumLevel(LoggerConfiguration loggerConfiguration)
      at Serilog.Settings.Configuration.ConfigurationReader.Configure(LoggerConfiguration loggerConfiguration)
      at Serilog.Configuration.LoggerSettingsConfiguration.Settings(ILoggerSettings settings)
      at Serilog.ConfigurationLoggerConfigurationExtensions.Configuration(LoggerSettingsConfiguration settingConfiguration, IConfiguration configuration, ConfigurationReaderOptions readerOptions)
      at Jellyfin.Server.Helpers.StartupHelpers.InitializeLoggingFramework(IConfiguration configuration, IApplicationPaths appPaths)
    [06:03:56] [INF] [2] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\ProgramData\Jellyfin\Server_data\cache
    [06:04:01] [INF] [8] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on 0.0.0.0
    ( more stuff )

    Can someone please point out what I'm missing?


    Thanks,
    -Neil
    « Next Oldest | Next Newest »

    Users browsing this thread: 3 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode