[ 
https://issues.apache.org/jira/browse/IGNITE-27423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-27423:
------------------------------------
    Description: 
As a user, I want to Ignite client logs to be enabled automatically when I call 
{*}AddIgniteClientGroup{*}. Currently, I have to set the logger manually like 
this:
 
{code:c#}
builder.Services.AddIgniteClientGroup(services => new 
IgniteClientGroupConfiguration
{
    ClientConfiguration = new IgniteClientConfiguration("localhost:10942")
    {
        LoggerFactory = services.GetRequiredService<ILoggerFactory>()
    }
});
{code}

> .NET: Set LoggerFactory automatically in IgniteServiceCollectionExtensions
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-27423
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27423
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> As a user, I want to Ignite client logs to be enabled automatically when I 
> call {*}AddIgniteClientGroup{*}. Currently, I have to set the logger manually 
> like this:
>  
> {code:c#}
> builder.Services.AddIgniteClientGroup(services => new 
> IgniteClientGroupConfiguration
> {
>     ClientConfiguration = new IgniteClientConfiguration("localhost:10942")
>     {
>         LoggerFactory = services.GetRequiredService<ILoggerFactory>()
>     }
> });
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to