Identityserver4.admin: Use mysql when using template

Created on 18 Oct 2018  路  4Comments  路  Source: skoruba/IdentityServer4.Admin

Hello

I am following the instructions to create a brand new project using the templates.

My problem is that I want to be able to use MySql. How can I change Log.cs

question

All 4 comments

Hello @ekjuanrejon
It's great question - please take a look here: https://github.com/saleem-mirza/serilog-sinks-mysql
What error did you get?

I think you need change logging here: https://github.com/skoruba/IdentityServer4.Admin/blob/feature/extensible-aspnet-identity/src/Skoruba.IdentityServer4.Admin/Helpers/StartupHelpers.cs#L139-L142

@xmichaelx @svendu - can you help us with settings of mysql and serilog?

Thanks!

Hello @ekjuanrejon,

sadly the documentation is not up to date, yet and there is one incompatibility with mysql yet wich has to be fixed. I tried it myself.

@ekjuanrejon Have you tried to use MySQL sink? Does it work for you?

Thanks!

Mysql sink is not part of this solution. Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

we4sz picture we4sz  路  4Comments

woeterman94 picture woeterman94  路  4Comments

maythamfahmi picture maythamfahmi  路  4Comments

gokayokutucu picture gokayokutucu  路  3Comments

yehia2amer picture yehia2amer  路  3Comments