code: def jboss_domain_server_log_dir(broker):
          
          ps = broker[DefaultSpecs.ps_auxww].content
          results = []
          findall = re.compile(r"\-Djboss\.server\.log\.dir=(\S+)").findall
          # JBoss domain server progress command content should contain jboss.server.log.dir
          for p in ps:
              if '-D[Server:' in p:
                  found = findall(p)
                  if found:
                      # Only get the path which is absolute
                      results.extend(f for f in found if f[0] == '/')
          return list(set(results))
docs: Command: JBoss domain server log directory