Update DB to PROD, enable NopLogWriter, cleanup usings
Switched the connection string to the production database in appsettings.json. Enabled Mango.Nop.Services.Loggers.NopLogWriter as an additional logger. Removed an unused using directive from FruitBankDataController.cs.
This commit is contained in:
parent
3bc282ebf4
commit
e9a47c5ed4
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_DEV;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True",
|
"ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_PROD;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True",
|
||||||
"DataProvider": "sqlserver",
|
"DataProvider": "sqlserver",
|
||||||
"SQLCommandTimeout": null,
|
"SQLCommandTimeout": null,
|
||||||
"WithNoLock": false
|
"WithNoLock": false
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
}
|
}
|
||||||
//A NopLogWriter DI-only writer (5 szolgáltatás-függőség) — a config-úton nincs (AppType, LogLevel, string) ctor-a, MissingMethodException-t okozott.
|
//A NopLogWriter DI-only writer (5 szolgáltatás-függőség) — a config-úton nincs (AppType, LogLevel, string) ctor-a, MissingMethodException-t okozott.
|
||||||
//A DI-regisztrációja (PluginNopStartup: AddScoped<IAcLogWriterBase, NopLogWriter>) változatlanul él.
|
//A DI-regisztrációja (PluginNopStartup: AddScoped<IAcLogWriterBase, NopLogWriter>) változatlanul él.
|
||||||
//,{
|
,{
|
||||||
// "LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
// "LogWriterType": "Mango.Nop.Services.Loggers.NopLogWriter, Mango.Nop.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
|
"LogWriterType": "Mango.Nop.Services.Loggers.NopLogWriter, Mango.Nop.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
|
||||||
//}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue