karan1001
karan1001

Reputation: 121

Cassandra 1.2 - Save output.log in another location

I am using datastax cassandra 1.2. The output.log file is getting saved at the location /var/log/cassandra/output.log

How do i change the folder location for the output.log.

I have been successful in changing the system.log folder location via the: /etc/cassandra/log4j-server.properties

Please help. Thanks Jaskaran

Upvotes: 1

Views: 106

Answers (1)

Chris Lohfink
Chris Lohfink

Reputation: 16400

Cassandra daemon uses jsvc, this will pipe all the standard/error out to a file specified in -outfile (errout to &1 sends to same). This in the Cassandra Debian package is configured in the init script: https://github.com/apache/cassandra/blob/cassandra-1.2/debian/init#L141

Upvotes: 1

Related Questions