updated some names

This commit is contained in:
Flaminel
2025-06-01 02:36:59 +03:00
parent d80d897acb
commit 8b8dc672d1
9 changed files with 12 additions and 12 deletions

View File

@@ -65,9 +65,9 @@ public static class ApiDI
app.UseSwagger();
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Cleanuperr API v1");
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Cleanuparr API v1");
options.RoutePrefix = "swagger";
options.DocumentTitle = "Cleanuperr API Documentation";
options.DocumentTitle = "Cleanuparr API Documentation";
});
}

View File

@@ -79,7 +79,7 @@ public static class LoggingDI
// Add main log file
logConfig.WriteTo.File(
path: Path.Combine(logsPath, "cleanuperr-.txt"),
path: Path.Combine(logsPath, "cleanuparr-.txt"),
formatter: new ExpressionTemplate(fileTemplate),
fileSizeLimitBytes: 10L * 1024 * 1024,
rollingInterval: RollingInterval.Day,
@@ -93,7 +93,7 @@ public static class LoggingDI
.MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
.MinimumLevel.Override("Quartz", LogEventLevel.Warning)
.MinimumLevel.Override("System.Net.Http.HttpClient", LogEventLevel.Error)
.Enrich.WithProperty("ApplicationName", "cleanuperr");
.Enrich.WithProperty("ApplicationName", "Cleanuparr");
return logConfig;
}

View File

@@ -16,8 +16,8 @@ public static class HostExtensions
logger.LogInformation(
version is null
? "cleanuperr version not detected"
: $"cleanuperr v{version.Major}.{version.Minor}.{version.Build}"
? "Cleanuparr version not detected"
: $"Cleanuparr v{version.Major}.{version.Minor}.{version.Build}"
);
logger.LogInformation("timezone: {tz}", TimeZoneInfo.Local.DisplayName);