Only SELECT is logged, no INSERT, UPDATE, DELETE

Sorry misread your post.

Yeah you can call it after UseServiceStack(), e.g:

public class Startup : ModularStartup
{
    public Startup(IConfiguration configuration) : base(configuration) {}

    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        app.UseServiceStack(new AppHost {
            AppSettings = new NetCoreAppSettings(Configuration)
        });

        var logFactory = app.ApplicationServices.GetService<ILoggerFactory>();
        OrmLiteConfig.ResetLogFactory(new NetCoreLogFactory(logFactory));
    }
}

Is the Microsoft.Extensions.Logging.ILoggerFactory only usable in MyGet 5.6.1?

cannot convert from 'Microsoft.Extensions.Logging.ILoggerFactory' to 'ServiceStack.Logging.ILogFactory'

Note: This project isn’t using ModularStartup.

Apologies it needs to be wrapped in NetCoreLogFactory, e.g:

var logFactory = app.ApplicationServices.GetService<ILoggerFactory>();
OrmLiteConfig.ResetLogFactory(new NetCoreLogFactory(logFactory));