Skip to:
For example if I use SchemaManager#validate, and the layout is incorrect, I’ll get this log:
But logging this is completely useless in this case, since SchemaManager#validate will throw an exception with this one set as its cause…
SchemaManager#validate
We should avoid logs in this specific case.
Note that such logs are still useful on bootstrap, so logging must not be removed altogether; it only needs to be avoided in some cases.
For example if I use SchemaManager#validate, and the layout is incorrect, I’ll get this log:
But logging this is completely useless in this case, since
SchemaManager#validate
will throw an exception with this one set as its cause…We should avoid logs in this specific case.
Note that such logs are still useful on bootstrap, so logging must not be removed altogether; it only needs to be avoided in some cases.