CopyPastor

Detecting plagiarism made easy.

Score: 1.7920511364936829; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2021-11-02
by Tupac

Original Post

Original - Posted on 2020-06-30
by fourbeatcoder



            
Present in both answers; Present only in the new answer; Present only in the old answer;

The solution has two parts:
1.The following Serilog configuration is missing from appsettings.json to define the correct logging level for Quartz:
[https://groups.google.com/forum/#!topic/quartznet/Cjco_Ob9yrM][1]
"MinimumLevel": { "Default": "Debug", "Override": { "Microsoft": "Warning", "System": "Warning", "Quartz": "Warning" } },

The configuration of "Quartz": "Warning" suppressed the Debug "Batch acquisition" messages from being logged.
And
2 - The invocation of both the SerilogLogger.Reconfigure and SerilogLogger.RefineConfiguration methods was completely unnecessary. I removed this. It was overwriting the config from point 1) above. All Serilog configuration should take place in my appsettings.
[1]: https://groups.google.com/forum/#!topic/quartznet/Cjco_Ob9yrM
I have implemented a solution for this problem, there were two parts to the solution:
**1 -** [As pointed out to me in the Quartz google groups,][1] I was missing the following Serilog configuration from appsettings.json to define the correct logging level for Quartz:
"MinimumLevel": { "Default": "Debug", "Override": { "Microsoft": "Warning", "System": "Warning", "Quartz": "Warning" } },
The configuration of `"Quartz": "Warning"` suppressed the `Debug` "Batch acquisition" messages from being logged.
And
**2 -** The invocation of both the `SerilogLogger.Reconfigure` and `SerilogLogger.RefineConfiguration` methods was completely unnecessary. I removed this. It was overwriting the config from point 1) above. All Serilog configuration should take place in my appsettings.
[1]: https://groups.google.com/forum/#!topic/quartznet/Cjco_Ob9yrM

        
Present in both answers; Present only in the new answer; Present only in the old answer;