[
https://issues.apache.org/jira/browse/IGNITE-14840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mirza Aliev updated IGNITE-14840:
---------------------------------
Description:
We should replace slf4j logging with IgniteLogger. As far as raft module uses
slf4j log method with vararg params and passes last param as throwable,
IgniteLogger also should support such cases. In discussion with [~amashenkov]
we've agreed that we do not want to support such scenario as is and we added
the following methods to IgniteLogger:
{code:java}
debug(String msg, Throwable th, Object... params)
info(String msg, Throwable th, Object... params)
trace(String msg, Throwable th, Object... params)
warn(String msg, Throwable th, Object... params)
{code}
was:We should replace slf4j logging with IgniteLogger. As a result, for log
methods with vararg params, we should add the ability to pass throwable as the
last param and call the corresponding log method with throwable
> Get rid of slf4j in jraft package and for the rest modules of the project
> -------------------------------------------------------------------------
>
> Key: IGNITE-14840
> URL: https://issues.apache.org/jira/browse/IGNITE-14840
> Project: Ignite
> Issue Type: Task
> Reporter: Alexey Scherbakov
> Assignee: Mirza Aliev
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-alpha3
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> We should replace slf4j logging with IgniteLogger. As far as raft module uses
> slf4j log method with vararg params and passes last param as throwable,
> IgniteLogger also should support such cases. In discussion with [~amashenkov]
> we've agreed that we do not want to support such scenario as is and we added
> the following methods to IgniteLogger:
> {code:java}
> debug(String msg, Throwable th, Object... params)
> info(String msg, Throwable th, Object... params)
> trace(String msg, Throwable th, Object... params)
> warn(String msg, Throwable th, Object... params)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)