You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by "jephal (via GitHub)" <gi...@apache.org> on 2025/04/09 11:34:12 UTC

[I] log4j issues [incubator-wayang]

jephal opened a new issue, #536:
URL: https://github.com/apache/incubator-wayang/issues/536

   in the pom.xml for the project log4j2 is specified, but the wayang-submit sues log4j (v1)
   
   in Wayang submit log4j is specified like this
   
   FLAGS=""
   if [ "${FLAG_LOG}" = "true" ]; then
   	FLAGS="${FLAGS} -Dlog4j.configuration=file://${WAYANG_CONF}/log4j.properties"
   fi
   
   even though for log4j2 it needs to be setup like this (at least this works):
   
   FLAGS=""
   if [ "${FLAG_LOG}" = "true" ]; then
   	FLAGS="${FLAGS} -Dlog4j2.configurationFile=file://${WAYANG_CONF}/log4j2.xml"
   
   
   also no log4j file (for v1 or v2) is specified in $WAYANG_HOME/conf
   
   I attempted to create one, but when clean installing the component the file disappears 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wayang.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org