Yaniv Dary has uploaded a new change for review.

Change subject: packaging: removed a temp fix for logging in JRS
......................................................................

packaging: removed a temp fix for logging in JRS

We no longer need to copy any jars to make logging work.

Change-Id: I3a0a6bc65040fe51ec92f754c749be4c6354ef90
Signed-off-by: Yaniv Dary <yd...@redhat.com>
---
M packaging/ovirt-engine-reports-setup.py
1 file changed, 0 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/35/21235/1

diff --git a/packaging/ovirt-engine-reports-setup.py 
b/packaging/ovirt-engine-reports-setup.py
index a02b742..b73413a 100755
--- a/packaging/ovirt-engine-reports-setup.py
+++ b/packaging/ovirt-engine-reports-setup.py
@@ -503,26 +503,6 @@
         link = "%s/%s" % (destDir, jarFile)
         logging.debug("Linking %s to %s" % (target, link))
         shutil.copyfile(target, link)
-    #temp fix for JRS logging
-    for filename in ('slf4j-api.jar', 'slf4j-log4j12.jar'):
-        for srcDir in (
-            '/usr/share/java/slf4j',
-            '/usr/share/jbos-as/modules/org/slf4j/main',
-        ):
-            sourceFile = os.path.join(
-                srcDir,
-                filename
-            )
-            destFile = os.path.join(
-                destDir,
-                filename
-            )
-            if (
-                os.path.exists(sourceFile) and
-                not os.path.exists(destFile)
-            ):
-                shutil.copyfile(sourceFile, destFile)
-                break
 
 def isWarUpdated():
     """


-- 
To view, visit http://gerrit.ovirt.org/21235
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a0a6bc65040fe51ec92f754c749be4c6354ef90
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: ovirt-3.3.1
Gerrit-Owner: Yaniv Dary <yd...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to