cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] marcaurele commented on a change in pull request #2316: CLOUDSTACK-10137: Only link log4j if not already present
Date Thu, 01 Jan 1970 00:00:00 GMT
marcaurele commented on a change in pull request #2316: CLOUDSTACK-10137: Only link log4j if
not already present
URL: https://github.com/apache/cloudstack/pull/2316#discussion_r150231799
 
 

 ##########
 File path: debian/cloudstack-management.postinst
 ##########
 @@ -57,7 +57,9 @@ if [ "$1" = configure ]; then
     chgrp cloud ${CONFDIR}/${DBPROPS}
     chown -R cloud:cloud /var/log/cloudstack/management
 
-    ln -s ${CONFDIR}/log4j-cloud.xml ${CONFDIR}/log4j.xml
+    if [ ! -e "$CONFDIR/log4j.xml" ]; then
+        ln -s ${CONFDIR}/log4j-cloud.xml ${CONFDIR}/log4j.xml
 
 Review comment:
   Yep

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message