Update ServiceCollectionExtensions.cs
This commit is contained in:
parent
9401214b14
commit
6b08eb6db9
|
|
@ -8,6 +8,7 @@ using Elsa.Runtime.ProtoActor.HostedServices;
|
|||
using Elsa.Runtime.ProtoActor.Services;
|
||||
using Elsa.Runtime.Protos;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Proto;
|
||||
using Proto.Cluster;
|
||||
using Proto.Cluster.Partition;
|
||||
|
|
@ -24,6 +25,9 @@ public static class ServiceCollectionExtensions
|
|||
{
|
||||
var systemConfig = GetSystemConfig();
|
||||
|
||||
// Logging.
|
||||
Log.SetLoggerFactory(LoggerFactory.Create(l => l.AddConsole().SetMinimumLevel(LogLevel.Warning)));
|
||||
|
||||
// Actor System.
|
||||
services.AddSingleton(sp =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue