[
https://issues.apache.org/jira/browse/LOG4J2-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750429#comment-17750429
]
Gary D. Gregory commented on LOG4J2-3666:
-----------------------------------------
Because this is designed to "trace" coming in and out of method calls and
nothing else. I only makes sense to allow this at the lowest priority level IMO.
> traceEntry() and traceExit() - Similar methods not there with INFO/DEBUG
> level?
> -------------------------------------------------------------------------------
>
> Key: LOG4J2-3666
> URL: https://issues.apache.org/jira/browse/LOG4J2-3666
> Project: Log4j 2
> Issue Type: Question
> Reporter: Sreenivas K
> Priority: Minor
>
> Came to know that *traceEntry()* and *traceExit()* will log method
> entry/exits only when TRACE enabled.
> Why there are no methods with INFO/DEBUG level to log entry/exit?
> or
> Why there is no option given to callers under which Log Level those need to
> be printed?
> Because i want to use those methods with DEBUG/INFO mode. I cannot enable
> *TRACE* for my package.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)