question: public static LogWriter createLogWriter ( final Properties properties ) { Properties nonDefault = properties ; if ( nonDefault == null ) { nonDefault = new Properties ( ) ; } DistributedTestUtils . addHydraProperties ( nonDefault ) ; DistributionConfig dc = new DistributionConfigImpl ( nonDefault ) ; LogWriter logger = LogWriterFactory . createLogWriterLogger ( false , false , dc , false ) ; nonDefault . put ( DistributionConfig . LOG_WRITER_NAME , logger ) ; return logger ; }
target:  Creates a new LogWriter and adds it to the config properties. The config can then be used to connect to DistributedSystem, thus providing early access to the LogWriter before connecting. This call does not connect to the DistributedSystem. It simply creates and returns the LogWriter that will eventually be used by the DistributedSystem that connects using config.