CyclicPropertyReferenceException logged with stack trace [DATAMONGO-1205] #2122
I have a document model with a many potential cycles, but it is the way it has to be and the application ensures there will be no cycling documents.
The problem is that the cycle checking is polluting the logs, I get 52 cycle warnings but it generates 3293 lines at the log.
At MongoPersistentEntityIndexResolver.java there are 4 lines with LOGGER.warn codes, 3 of them are "LOGGER.warn(e.getMessage());" and 1 is "LOGGER.warn(e.getMessage(), e);", this last one should be changed to match the others and stop polluting the logs, the stacktrace has no use for this kind of warning.
Affects: 1.6.2 (Evans SR2)
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: