[
https://issues.apache.org/jira/browse/CASSANDRA-17948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613730#comment-17613730
]
Josh McKenzie commented on CASSANDRA-17948:
-------------------------------------------
bq. Rather than dealing with storing all the log messages on disk and in
memory, what about reading the actual logs off disk when the virtual table is
accessed?
bq. this way you could speed things up if you ask for example every time the
last 5 min of logs.
My assumption is that Jon's initial approach (parse it off disk when queried
from virtual table) would be plenty fast for either the human-exploring
use-case _or_ the "automated tool polls once a minute" case. There's the big
benefit that we get access to basically all the log messages the node has
available via that approach vs. having the rolling buffer of X entries which
potentially introduces another configurable knob for folks to worry about.
> Get warning and errors through virtual tables
> ---------------------------------------------
>
> Key: CASSANDRA-17948
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17948
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Michiel Saelen
> Priority: Normal
>
> The warnings and errors are currently only accessible through Cassandra logs.
> Automating the monitoring of the nodes would be much easier/secure if we can
> make use of virtual tables to get the logs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]