void function ( final Stack < String > arg0 ) { org . apache . logging . log4j . ThreadContext . setStack ( arg0 ) ; }
inherit the diagnostic context of another thread . the parent thread can obtain a reference to its diagnostic context using the #clonestack method . it shouldcommunicate this information to its child so that it may inherit the parent 's diagnostic context . the parent 's diagnostic context is cloned before being inherited . in other words , once inherited , the two diagnostic contexts can be managed independently . in java , a child thread can not obtain a reference to its parent , unless it is directly handed the reference . consequently , there is no client-transparent way of inheriting diagnostic contexts . do you know any solution to this problem ? concode_field_sep PlaceHolder placeHolder concode_field_sep String pop concode_elem_sep int getDepth concode_elem_sep void setMaxDepth concode_elem_sep String get concode_elem_sep void clear concode_elem_sep Stack cloneStack concode_elem_sep void push concode_elem_sep void remove concode_elem_sep String peek