The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

v_1_1b3 :: src / java / org / apache / log4j / test /

finalize



# Read the .functions file
. .functions

declare -i start=$1

# ======================================================
function testFinalize {
 conf=$1


 java -Dlog4j.configDebug org.apache.log4j.test.Finalize $conf
}
# ======================================================



declare -i TEST


TEST=1
if [ $TEST -ge $start ]; then
  D_FLAG=$DEF_DEBUG
  echo "log4j.rootCategory=DEBUG, A1" > $LCF
  lecho "log4j.appender.A1=org.apache.log4j.FileAppender"
  lecho "log4j.appender.A1.File=$TEMP"
  lecho "log4j.appender.A1.Append=false"
  lecho "log4j.appender.A1.layout.ConversionPattern=%m\n"
  lecho "log4j.appender.A1.layout=org.apache.log4j.PatternLayout" 
  testFinalize $LCF 
fi

TEST=2 
if [ $TEST -ge $start ]; then
  D_FLAG=$DEF_DEBUG
  echo "log4j.rootCategory=DEBUG, A1" > $LCF
  lecho "log4j.appender.A1=org.apache.log4j.net.SocketAppender"
  lecho "log4j.appender.A1.RemoteHost=$REMOTE_HOST"
  lecho "log4j.appender.A1.Port=12345"
  lecho "log4j.appender.A1.ReconnectionDelay=2000"    
  testFinalize $LCF 
fi



[See repo JSON]