question: public DeprecationLogger ( ESLogger parentLogger ) { String name = parentLogger . getName ( ) ; if ( name . startsWith ( "org.elasticsearch" ) ) { name = name . replace ( "org.elasticsearch." , "org.elasticsearch.deprecation." ) ; } else { name = "deprecation." + name ; } this . logger = ESLoggerFactory . getLogger ( parentLogger . getPrefix ( ) , name ) ; }
target:  Creates a new deprecation logger based on the parent logger. Automatically prefixes the logger name with "deprecation", if it starts with "org.elasticsearch.", it replaces "org.elasticsearch" with "org.elasticsearch.deprecation" to maintain the "org.elasticsearch" namespace.