private void logRunException ( final Exception e ) { if ( shutDown ) { getLogger ( ) . debug ( "Exception occurred during shutdown" , e ) ; } else { getLogger ( ) . warn ( "Problem handling memcached IO" , e ) ; } }
Log a exception to different levels depending on the state .