Some fixes from last release (#1884)
* Removed SecurityEvent middleware solution. It was out of scope originally. * Fixed manage users still calling pending when the api is no more * Added back the online indicator on manage users
This commit is contained in:
parent
93bd7d7c19
commit
d070da2834
21 changed files with 1940 additions and 177 deletions
|
@ -13,7 +13,6 @@ namespace API.Logging;
|
|||
public static class LogLevelOptions
|
||||
{
|
||||
public const string LogFile = "config/logs/kavita.log";
|
||||
public const string SecurityLogFile = "config/logs/security.log";
|
||||
public const bool LogRollingEnabled = true;
|
||||
/// <summary>
|
||||
/// Controls the Logging Level of the Application
|
||||
|
@ -59,7 +58,7 @@ public static class LogLevelOptions
|
|||
.Filter.ByIncludingOnly(ShouldIncludeLogStatement);
|
||||
}
|
||||
|
||||
private static bool ShouldIncludeLogStatement(LogEvent e)
|
||||
private static bool ShouldIncludeLogStatement(LogEvent e)
|
||||
{
|
||||
var isRequestLoggingMiddleware = e.Properties.ContainsKey("SourceContext") &&
|
||||
e.Properties["SourceContext"].ToString().Replace("\"", string.Empty) ==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue