Source:
<code>public static void main(String[] args) { logger.info("Initializing System..."); SystemInfo si = new SystemInfo(); HardwareAbstractionLayer hal = si.getHardware(); OperatingSystem os = si.getOperatingSystem(); printOperatingSystem(os); logger.info("Checking computer system..."); printComputerSystem(hal.getComputerSystem()); logger.info("Checking Processor..."); printProcessor(hal.getProcessor()); logger.info("Checking Memory..."); printMemory(hal.getMemory()); logger.info("Checking CPU..."); printCpu(hal.getProcessor()); logger.info("Checking Processes..."); printProcesses(os, hal.getMemory()); logger.info("Checking Sensors..."); printSensors(hal.getSensors()); logger.info("Checking Power sources..."); printPowerSources(hal.getPowerSources()); logger.info("Checking Disks..."); printDisks(hal.getDiskStores()); logger.info("Checking File System..."); printFileSystem(os.getFileSystem()); <START> logger.info("Checking OSFileStore..."); <END> logger.info("Checking Network interfaces..."); printNetworkInterfaces(hal.getNetworkIFs()); logger.info("Checking Network parameters..."); printNetworkParameters(os.getNetworkParams()); logger.info("Checking Displays..."); printDisplays(hal.getDisplays()); logger.info("Checking USB Devices..."); printUsbDevices(hal.getUsbDevices(true)); logger.info("Checking Sound Cards..."); printSoundCards(hal.getSoundCards()); StringBuilder output = new StringBuilder(); for (int i = 0; i < oshi.size(); i++) { output.append(oshi.get(i)); if (oshi.get(i) != null && !oshi.get(i).endsWith("\n")) { output.append('\n'); } } logger.info("Printing Operating System and Hardware Info:{}{}", '\n', output); }</code><technical_language>need add this here. call print File System iterate OSFileStores -- location (should have) copied information put in toString. end like: OSFileStore[] fsArray = fileSystem.getFileStores() for (OSFileStore fs : fsArray) { oshi.add(fs.toString()); }</technical_language>

Target:
public static void main(String[] args) { logger.info("Initializing System..."); SystemInfo si = new SystemInfo(); HardwareAbstractionLayer hal = si.getHardware(); OperatingSystem os = si.getOperatingSystem(); printOperatingSystem(os); logger.info("Checking computer system..."); printComputerSystem(hal.getComputerSystem()); logger.info("Checking Processor..."); printProcessor(hal.getProcessor()); logger.info("Checking Memory..."); printMemory(hal.getMemory()); logger.info("Checking CPU..."); printCpu(hal.getProcessor()); logger.info("Checking Processes..."); printProcesses(os, hal.getMemory()); logger.info("Checking Sensors..."); printSensors(hal.getSensors()); logger.info("Checking Power sources..."); printPowerSources(hal.getPowerSources()); logger.info("Checking Disks..."); printDisks(hal.getDiskStores()); logger.info("Checking File System..."); printFileSystem(os.getFileSystem()); logger.info("Checking Network interfaces..."); printNetworkInterfaces(hal.getNetworkIFs()); logger.info("Checking Network parameters..."); printNetworkParameters(os.getNetworkParams()); logger.info("Checking Displays..."); printDisplays(hal.getDisplays()); logger.info("Checking USB Devices..."); printUsbDevices(hal.getUsbDevices(true)); logger.info("Checking Sound Cards..."); printSoundCards(hal.getSoundCards()); StringBuilder output = new StringBuilder(); for (int i = 0; i < oshi.size(); i++) { output.append(oshi.get(i)); if (oshi.get(i) != null && !oshi.get(i).endsWith("\n")) { output.append('\n'); } } logger.info("Printing Operating System and Hardware Info:{}{}", '\n', output); }