Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Turnierplan.App/Extensions/WebApplicationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static async Task InitializeDatabaseAsync(this WebApplication app)
await context.Users.AddAsync(initialUser).ConfigureAwait(false);
await context.SaveChangesAsync().ConfigureAwait(false);

logger.LogWarning("An initial user was created. You can log in using \"{Email}\" and the password \"{Password}\". IMMEDIATELY change this password when running in a production environment!", initialEmail, initialPassword);
logger.LogInformation("An initial user was created. You can log in using \"{Email}\" and the password \"{Password}\". IMMEDIATELY change this password when running in a production environment!", initialEmail, initialPassword);
}
else
{
Expand Down
13 changes: 13 additions & 0 deletions src/Turnierplan.App/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using FluentValidation;
using Microsoft.AspNetCore.Http.Json;
using Scalar.AspNetCore;
using Turnierplan.App.Constants;
using Turnierplan.App.Converters;
using Turnierplan.App.Extensions;
using Turnierplan.App.Helpers;
Expand All @@ -13,6 +14,18 @@
using Turnierplan.Localization.Extensions;
using Turnierplan.PdfRendering.Extensions;

Console.WriteLine();
Console.WriteLine( " __ ___ __");
Console.WriteLine( @" /\ \__ __ /\_ \ /\ \__");
Console.WriteLine( @" \ \ ,_\ __ __ _ __ ___ /\_\ __ _ __ _____\//\ \ __ ___ ___ __\ \ ,_\");
Console.WriteLine( @" \ \ \/ /\ \/\ \/\`'__\/' _ `\/\ \ /'__`\/\`'__\/\ '__`\\ \ \ /'__`\ /' _ `\ /' _ `\ /'__`\ \ \/");
Console.WriteLine( @" \ \ \_\ \ \_\ \ \ \/ /\ \/\ \ \ \/\ __/\ \ \/ \ \ \L\ \\_\ \_/\ \L\.\_/\ \/\ \ __/\ \/\ \/\ __/\ \ \_");
Console.WriteLine( @" \ \__\\ \____/\ \_\ \ \_\ \_\ \_\ \____\\ \_\ \ \ ,__//\____\ \__/.\_\ \_\ \_\/\_\ \_\ \_\ \____\\ \__\");
Console.WriteLine( @" \/__/ \/___/ \/_/ \/_/\/_/\/_/\/____/ \/_/ \ \ \/ \/____/\/__/\/_/\/_/\/_/\/_/\/_/\/_/\/____/ \/__/");
Console.WriteLine( @" \ \_\");
Console.WriteLine($@" \/_/ v{TurnierplanMetadata.Version}");
Console.WriteLine();

ValidatorOptions.Global.LanguageManager.Enabled = false;

var builder = WebApplication.CreateBuilder(args);
Expand Down
5 changes: 4 additions & 1 deletion src/Turnierplan.App/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.AspNetCore.DataProtection": "None"
"Microsoft.AspNetCore.DataProtection": "None",
"Microsoft.Hosting.Lifetime": "Information",
"Turnierplan.App.Extensions.WebApplicationExtensions.DatabaseMigrator": "Information",
"Turnierplan.ImageStorage.Local.LocalImageStorage": "Information"
}
},
"ApplicationUrl": "",
Expand Down
Loading