returns the host name . if the host name is unobtainable , logs the exception and returns `` unknown '' . concode_field_sep Log LOG concode_field_sep MetricsRecord createRecord concode_elem_sep MetricsContext getContext concode_elem_sep MetricsContext getContext
String function ( ) { String loc0 = null ; try { loc0 = InetAddress . getLocalHost ( ) . getHostName ( ) ; } catch ( UnknownHostException loc1 ) { LOG . info ( "srini_string" , loc1 ) ; loc0 = "srini_string" ; } return loc0 ; }