ElmahCore

Results 7 comments of ElmahCore

```csharp services.AddElmah(options => { options.LogPath = "~/Helpers/log"; }); and app.UseElmah(); in Configure ```

This code works for me: ```csharp services.AddElmah(options => { options.LogPath = "~/logs"; }); ``` Send more info or project.

app.UseElmah() must be after initializing other exception handling middleware, such as (UseExceptionHandler, UseDeveloperExceptionPage, etc.) ```charp app.UseCors(x => x .AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader()); app.UseAuthentication(); app.UseElmah(); //moved app.UseHttpsRedirection(); app.UseMvc(); ```

Multiple ErrorLog's not supported yet :( ```csharp services.AddElmah ... services.AddElmah ``` Will work last added ErrorLog (services.AddElmah).

I’ll close this in the next release.

Try options.Path = "test/elmah";