@@ -122,6 +122,9 @@ public PdxType getType(int typeId) {
122
122
if (pdxType != null ) {
123
123
this .idToType .put (typeId , pdxType );
124
124
this .typeToId .put (pdxType , typeId );
125
+ if (logger .isInfoEnabled ()) {
126
+ logger .info ("Adding: {}" , pdxType .toFormattedString ());
127
+ }
125
128
if (logger .isDebugEnabled ()) {
126
129
logger .debug ("Adding entry into pdx type registry, typeId: {} {}" , typeId , pdxType );
127
130
}
@@ -186,8 +189,8 @@ public int defineType(PdxType newType) {
186
189
if (oldType == null ) {
187
190
this .idToType .put (id , newType );
188
191
this .typeToId .put (newType , id );
189
- if (logger .isDebugEnabled ()) {
190
- logger .debug ("Defining: {}" , newType .toFormattedString ());
192
+ if (logger .isInfoEnabled ()) {
193
+ logger .info ("Defining: {}" , newType .toFormattedString ());
191
194
}
192
195
} else {
193
196
//TODO - this might be overkill, but type definition should be rare enough.
@@ -205,8 +208,8 @@ public void addRemoteType(int typeId, PdxType newType) {
205
208
this .distributedTypeRegistry .addRemoteType (typeId , newType );
206
209
this .idToType .put (typeId , newType );
207
210
this .typeToId .put (newType , typeId );
208
- if (logger .isDebugEnabled ()) {
209
- logger .debug ("Adding, from remote WAN: {}" , newType .toFormattedString ());
211
+ if (logger .isInfoEnabled ()) {
212
+ logger .info ("Adding, from remote WAN: {}" , newType .toFormattedString ());
210
213
}
211
214
} else {
212
215
//TODO - this might be overkill, but type definition should be rare enough.
@@ -483,8 +486,8 @@ public void addImportedType(int typeId, PdxType importedType) {
483
486
this .distributedTypeRegistry .addImportedType (typeId , importedType );
484
487
this .idToType .put (typeId , importedType );
485
488
this .typeToId .put (importedType , typeId );
486
- if (logger .isDebugEnabled ()) {
487
- logger .debug ("Importing type: {}" , importedType .toFormattedString ());
489
+ if (logger .isInfoEnabled ()) {
490
+ logger .info ("Importing type: {}" , importedType .toFormattedString ());
488
491
}
489
492
}
490
493
0 commit comments