[
https://issues.apache.org/jira/browse/IGNITE-27423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047062#comment-18047062
]
Pavel Tupitsyn commented on IGNITE-27423:
-----------------------------------------
https://github.com/apache/ignite-3/commit/6d019ef6a44da07f5cd4ce2c030495a460ca6adb
> .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
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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)