[#5385] Excessive WARN log level when a generated object has no name

This commit is contained in:
lukaseder 2016-07-04 10:26:44 +02:00
parent 9d40689686
commit ec9d42ace7

View File

@ -86,7 +86,7 @@ abstract class AbstractTypedElementDefinition<T extends Definition>
private static String protectName(String table, String name, int position) {
if (name == null) {
log.warn("Missing name", "Object " + table + " holds a column without a name at position " + position);
log.info("Missing name", "Object " + table + " holds a column without a name at position " + position);
return "_" + position;
}