I'm not happy with the logging in Azure Functions. I can't easily correlate log entries, it seems like there are times when it loses log entries and the logs aren't permanent enough.
I would like to be able to log to a SQL Sever database and the rest of Azure App Service application use log4net. Without a full config file where we can put custom configuration section it seems the only option would be to programmatically configure the logger.
Is there a way of having a full configuration file for an Azure Function or to read a file from the function's directory that I could then use as an input to the configurator?
Baring these options what is the best way to log from Azure Functions?