Hangfire deadlocks

Tags: #<Tag:0x00007f235eaad1f0> #<Tag:0x00007f235eaad128> #<Tag:0x00007f235eaacfc0> #<Tag:0x00007f235eaacea8> #<Tag:0x00007f235eaacd90>

Hi. I am using hangfire as a custom workflow engine, which works perfectly fine until I start logging. I log to DB as a requirement. Once I turn logging on I start getting deadlocks and system becomes really slow. I am using nlog and dotnet core.
Any ideas?