Hi Barry, I was going through the logger.warn signatures and I found
`/**

     * Logs a message at the {@link Level#WARN WARN} level including the stack 
trace of the {@link Throwable}
     * <code>t</code> passed as parameter.
     *
     * @param message the message object to log.
     * @param t the exception to log, including its stack trace.
     */
    void warn(String message, Throwable t);`
and 
`    /**

     * Logs a message with parameters at warn level.
     *
     * @param message the message to log; the format depends on the message 
factory.
     * @param p0 parameter to the message.
     * @param p1 parameter to the message.
     */
    void warn(String message, Object p0, Object p1);`
I think the stacktrace will not be printed in this case as there is no extra 
parameter in the string.

maybe `logger.warn("CacheClientNotifier: Caught exception attempting to close 
client: " + proxy , e);`


[ Full content available at: https://github.com/apache/geode/pull/4141 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to