Claudenw commented on PR #2842:
URL: https://github.com/apache/cassandra/pull/2842#issuecomment-1788706353

   Should the startup check log a message if it is disabled?
   
   ```        public void execute(StartupChecksOptions options)
           {
               if (options.isDisabled(getStartupCheckType()))
                   return;
   
               Optional<String> degradations = new SystemInfo().isDegraded();
   
               if (degradations.isPresent())
                   logger.warn("Cassandra server running in degraded mode. " + 
degradations.get());
               else
                   logger.info("Checked OS settings and found them configured 
for optimal performance.");
           }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to