Skip to content

Commit 25508fd

Browse files
committed
run dump
1 parent 332e817 commit 25508fd

2 files changed

Lines changed: 10009 additions & 10 deletions

File tree

docs/llm/dump.txt

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
===============================================================================
22
PROJECT EXPORT
3-
Generated: Fri Mar 13 08:22:01 PM EDT 2026
3+
Generated: Fri Mar 13 08:42:02 PM EDT 2026
44
Project Path: /home/kushal/src/dotnet/MyBlog
55
===============================================================================
66

@@ -6973,8 +6973,8 @@ public sealed class UserRepository(BlogDbContext context) : IUserRepository
69736973

69746974
================================================================================
69756975
FILE: src/MyBlog.Infrastructure/ServiceCollectionExtensions.cs
6976-
SIZE: 2.82 KB
6977-
MODIFIED: 2026-03-13 20:18:34
6976+
SIZE: 3.65 KB
6977+
MODIFIED: 2026-03-13 20:27:50
69786978
================================================================================
69796979

69806980
using Microsoft.AspNetCore.Identity;
@@ -7042,9 +7042,27 @@ public static class ServiceCollectionExtensions
70427042
// Cache Warmer - runs on startup to pre-fetch dimensions for existing images
70437043
services.AddHostedService<ImageCacheWarmerService>();
70447044

7045-
// Inside AddInfrastructure or similar registration method
7046-
services.AddHostedService<FileLogExporter>();
7047-
services.AddHostedService<DatabaseLogExporter>();
7045+
// Telemetry log exporters
7046+
// FileLogExporter requires a directory string in its constructor —
7047+
// use a factory so DI can construct it with the resolved path.
7048+
var enableFileLogging = configuration.GetValue("Telemetry:EnableFileLogging", true);
7049+
if (enableFileLogging)
7050+
{
7051+
var telemetryDir = TelemetryPathResolver.GetTelemetryDirectory();
7052+
if (telemetryDir is not null)
7053+
{
7054+
var logsDir = Path.Combine(telemetryDir, "logs");
7055+
services.AddSingleton<FileLogExporter>(sp => new FileLogExporter(logsDir));
7056+
services.AddHostedService(sp => sp.GetRequiredService<FileLogExporter>());
7057+
}
7058+
}
7059+
7060+
var enableDbLogging = configuration.GetValue("Telemetry:EnableDatabaseLogging", true);
7061+
if (enableDbLogging)
7062+
{
7063+
services.AddSingleton<DatabaseLogExporter>();
7064+
services.AddHostedService(sp => sp.GetRequiredService<DatabaseLogExporter>());
7065+
}
70487066

70497067
return services;
70507068
}
@@ -11879,13 +11897,18 @@ MODIFIED: 2026-01-26 05:44:15
1187911897

1188011898
================================================================================
1188111899
FILE: src/MyBlog.Web/Components/NotFound.razor
11882-
SIZE: .14 KB
11883-
MODIFIED: 2026-03-13 20:07:14
11900+
SIZE: .27 KB
11901+
MODIFIED: 2026-03-13 20:38:54
1188411902
================================================================================
1188511903

11904+
@page "/not-found"
11905+
@using MyBlog.Web.Components.Layout
11906+
1188611907
<LayoutView Layout="typeof(MainLayout)">
11908+
<PageTitle>Page Not Found</PageTitle>
1188711909
<h1>Page Not Found</h1>
1188811910
<p>Sorry, the page you requested could not be found.</p>
11911+
<a href="/">← Back to Home</a>
1188911912
</LayoutView>
1189011913

1189111914

@@ -14886,7 +14909,7 @@ article {
1488614909
================================================================================
1488714910
FILE: src/MyBlog.Web/Components/Routes.razor
1488814911
SIZE: .64 KB
14889-
MODIFIED: 2026-03-13 20:07:14
14912+
MODIFIED: 2026-03-13 20:39:03
1489014913
================================================================================
1489114914

1489214915
<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(NotFound)">
@@ -17281,7 +17304,7 @@ function showShareError(shareBtn, message) {
1728117304

1728217305

1728317306
===============================================================================
17284-
EXPORT COMPLETED: Fri Mar 13 08:22:02 PM EDT 2026
17307+
EXPORT COMPLETED: Fri Mar 13 08:42:03 PM EDT 2026
1728517308
Total Files Found: 128
1728617309
Files Exported: 128
1728717310
Files Skipped: 0 (binary or large files)

0 commit comments

Comments
 (0)