Is it possible to set (batch) formatter in configuration file?
See original GitHub issueHello I tried to set batch Formatter in config file but I get exception
'Invalid cast from 'System.String' to 'Serilog.Sinks.Http.IBatchFormatter'
My configuration file looks like this:
{
"Name": "DurableHttpUsingFileSizeRolledBuffers",
"Args": {
"requestUri": "http://localhost:31311",
"batchFormatter": "ArrayBatchFormatter"
}
}
Is there any way how to do this or is the only way to configure logger in code?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Spring Batch configuration Formatter Conversion change
%d is used to format numbers only. Usually in fixed lenght file we pad string data with spaces and numbers with "0".
Read more >Batch Server Configuration
The utility uses a set of templates to build a complete set of configuration files for the cluster, its threadpools and submitters at...
Read more >Configuring the batch processor
You can configure the batch processor by modifying the configuration of the Batch.properties file.
Read more >Java formatting and linting
To set the configuration file, right-click the .xml file and select Set the Checkstyle Configuration File. Set Checkstyle configuration file.
Read more >Configure formatting rules | ReSharper Documentation
As there are many ways to configure formatter settings, ... To do so, select ReSharper | Windows | File Formatting Info from the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you find the sink useful, and already haven’t, don’t forget to give the repository a star.
Best of luck in all your future development endeavors!
Its perfect! Thank you once again for your amazing work.