Browse Source

Better logging

pull/349/head v2.0-RC1
Sebastian Stehle 8 years ago
parent
commit
c923a3d670
  1. 5
      src/Squidex.Infrastructure/Orleans/GrainBootstrap.cs
  2. 2
      src/Squidex/Config/Startup/BackgroundHost.cs

5
src/Squidex.Infrastructure/Orleans/GrainBootstrap.cs

@ -45,5 +45,10 @@ namespace Squidex.Infrastructure.Orleans
} }
} }
} }
public override string ToString()
{
return typeof(T).ToString();
}
} }
} }

2
src/Squidex/Config/Startup/BackgroundHost.cs

@ -32,7 +32,7 @@ namespace Squidex.Config.Startup
{ {
await target.StartAsync(ct); await target.StartAsync(ct);
log.LogInformation(w => w.WriteProperty("backgroundSystem", target.GetType().Name)); log.LogInformation(w => w.WriteProperty("backgroundSystem", target.ToString()));
} }
} }
} }

Loading…
Cancel
Save