Question: I'm setting the routes and I would like to pass a parameter to the delete method.

I've tried this which doesn't work:

```
namespace :admin do
    resources :item do
        get 'create_asset'
        delete 'destroy_asset/:asset_id'
    end
    resources :asset
end

```

I've done that, but it doesn't look like the proper solution...

```
delete 'admin/items/:frame_id/destroy-asset/:asset_id' => 'admin/frames#destroy_asset'2, as: :destroy_asset

```

How can I achieve it? I cannot understand where I'm wrong.

Answer: 
I have log4net in my project from before I added identity server, it just works for me, I did not have to change anything that I had done.
so in my case I had got the nuget package created the table and updated my web.config to use log4net before I added identity server.
if you want a sample of my setup I can add it later.
I stumbled with this yesterday. The documentation I believe is not totally correct. The important thing to know is that identityserver code will detect a certain set of 3rd party logging libraries. Log4Net is one they recognize. So if you configure your app to use log4Net, then identityserver will detect this and start logging to it as well without any additional configuration needed.