Increase log verbosity; add InitialJobState config
Changed ASP.NET Core log level to Information in development. Added Worker.InitialJobState setting to control job startup state, defaulting FinalizeDocumentJob to Running. Added explanatory comments for job state values.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
"Microsoft.AspNetCore": "Information"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
}
|
||||
},
|
||||
"Worker": {
|
||||
"DelayMilliseconds": 1000
|
||||
"DelayMilliseconds": 1000,
|
||||
// InitialJobState: State values are 0 = Running, 1 = Stopped. Defaults to 1 (Stopped) if not specified.
|
||||
"InitialJobState": {
|
||||
"FinalizeDocumentJob": 0
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"SupportedCultures": [ "de-DE", "en-US" ],
|
||||
|
||||
Reference in New Issue
Block a user