aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/as7.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sos/plugins/as7.py b/sos/plugins/as7.py
index 9c052dd5..e56d91dd 100644
--- a/sos/plugins/as7.py
+++ b/sos/plugins/as7.py
@@ -141,15 +141,16 @@ class AS7(Plugin, IndependentPlugin, AS7Mixin):
self.addForbiddenPath(os.path.join(confDir, 'mgmt-users.properties'))
self.addForbiddenPath(os.path.join(confDir, 'application-users.properties'))
- self.doCopyFileOrDir(confDir, sub=(self.__jbossHome, 'JBOSSHOME'))
-
for logFile in find("*.log", path):
self.addCopySpecLimit(logFile,
self.getOption("logsize"),
sub=(self.__jbossHome, 'JBOSSHOME'))
for xml in find("*.xml", path):
- self.addCopySpec(xml)
+ self.addCopySpec(xml, sub=(self.__jbossHome, 'JBOSSHOME'))
+
+ for prop in find("*.properties", path):
+ self.addCopySpec(prop, sub=(self.__jbossHome, 'JBOSSHOME'))
deployment_info = self.__get_deployment_info(confDir)
deployments = self.__get_deployments(path)