In my (silly) case, after 2 days of troubleshooting I found that the value of 'MinimumLevel' for logging was in CAPS, so i was using DEBUG instead of Debug. Once I changed that my app started working.