InetAddress.getLocalHost().getHostName() and such will get you hostname information.
Michael Rose (@Xorlev <https://twitter.com/xorlev>) Senior Platform Engineer, FullContact <http://www.fullcontact.com/> [email protected] On Wed, Nov 12, 2014 at 3:40 PM, Vladi Feigin <[email protected]> wrote: > Read env. variable value in open/prepare methods > > On Wed, Nov 12, 2014 at 5:35 PM, Brunner, Bill <[email protected]> > wrote: > >> Is there a way to get the hostname of each worker at runtime? I’d like >> to use the info in logging, etc, and I can’t seem to find any documentation. >> >> >> >> Thanks >> ------------------------------ >> This message, and any attachments, is for the intended recipient(s) only, >> may contain information that is privileged, confidential and/or proprietary >> and subject to important terms and conditions available at >> http://www.bankofamerica.com/emaildisclaimer. If you are not the >> intended recipient, please delete this message. >> > >
