xuxi
xuxi
@smakrem yup, the idea/rule is using IRecurringJob to impl the job with DI.
@christophertodd u can paste your json file content here,it will helpe me to check the error.
@claudiobottari Got it!
@christophertodd see [unit test](https://github.com/icsharp/Hangfire.RecurringJobExtensions/blob/master/test/Hangfire.RecurringJobExtensions.Tests/Configuration/RecurringJobJsonOptionsTest.cs#L77) I added ,it passed. Maybe you can serialize RecurringJobJsonOptions instance and get the `job-type` string as @claudiobottari said .
@282030166 log4net.Kafka只是一个扩展,我项目里使用是没有问题的。建议你在web下先使用正常的RollingFileAppender测试能够有日志输出,然后再试试kafka appender。 另外,之前我也遇到过log4net在web下日志不输出的问题,记得用的是log4net.2.0.5,在更换成log4net.2.0.3就正常了。 你也可以参考:http://www.cnblogs.com/jinzhao/archive/2012/07/18/2597566.html 一查究竟。