Skip to content

Commit

Permalink
fix GC logging to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
mstump committed Mar 16, 2017
1 parent d8d3e77 commit 1fc5df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ sed -ri 's/- class_name: SEED_PROVIDER/- class_name: '"$CASSANDRA_SEED_PROVIDER"

# send gc to stdout
if [[ $CASSANDRA_GC_STDOUT == 'true' ]]; then
sed -ri 's/ -Xloggc:\/var\/log\/cassandra\/gc\.log//' $CASSANDRA_CONF_DIR/cassandra-env.sh
sed -ri 's/JVM_OPTS.*-Xloggc:.*//' $CASSANDRA_CONF_DIR/cassandra-env.sh
fi

# enable RMI and JMX to work on one port
Expand Down

0 comments on commit 1fc5df8

Please sign in to comment.