Failing to set the ranks list sometimes.
Switch off debug and trivial logs for optimised
mode automatically.