basically title, is there any command that can ignore and force bash not to print out the warning(s), similar to
WARNING: Could not connect to the JMX on localhost:8080, information won't be shown.
redirecting error to /dev/null
redirecting error and output messages to a log file
command-here > myapp.log 2>&1
> file redirects stdout to file > /dev/null redirects stdout to to the null device (discards it) 1> file redirects stdout to file 2> file redirects stderr to file &> file redirects stdout and stderr to file /dev/null is the null device it takes any input you want and throws it away. It can be used to suppress any output.
As @piyushj comment, you can try and change Cassandra log level altogether. Cassandra uses the standard Java log library Log4j
Need to edit the log4jserver.properties file, and change the line
you can change the logging level to INFO, DEBUG, WARN, ERROR, or FATAL.