Change logging locations
Logging locations are set during installation.
Generally, the default logs location is /var/log
.
For example, /var/log/cassandra
and /var/log/tomcat
.
Change logging locations after installation
-
To change logging locations after installation:
-
To generate all logs in the same location, add CASSANDRA_LOG_DIR to the
hcd-env.sh
file:export CASSANDRA_LOG_DIR="/your/log/location"
-
For finer-grained control, edit the
logback.xml
file and replace${cassandra.logdir}
with the path.
-
-
After you change logging locations, restart HCD.