Changes in libfdcore/extensions.c [1006:6ce8322f3b78:974:2091bf698fb1] in freeDiameter
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/extensions.c
r1006 r974 126 126 if (li == &ext->chain) { 127 127 /* the dependency was not found */ 128 TRACE_ ERROR("Error: extension [%s] depends on [%s] which was not loaded first. Please fix your configuration file.",128 TRACE_DEBUG(NONE, "Error: extension [%s] depends on [%s] which was not loaded first. Please fix your configuration file.", 129 129 ext->ext_name, ext->depends[i]); 130 130 return ESRCH; … … 162 162 if (ext->handler == NULL) { 163 163 /* An error occured */ 164 TRACE_ ERROR("Loading of extension %s failed: %s", ext->filename, dlerror());164 TRACE_DEBUG( NONE, "Loading of extension %s failed: %s", ext->filename, dlerror()); 165 165 #ifdef DEBUG 166 166 ext->handler = dlopen(ext->filename, RTLD_LAZY | RTLD_GLOBAL); 167 167 if (ext->handler) { 168 168 if (!check_dependencies(ext)) { 169 TRACE_ ERROR("In addition, notall declared dependencies are satisfied (Internal Error!)");169 TRACE_DEBUG( NONE, "In addition, all declared dependencies are satisfied (Internal Error!)"); 170 170 } 171 171 } … … 182 182 if (fd_ext_init == NULL) { 183 183 /* An error occured */ 184 TRACE_ ERROR("Unable to resolve symbol 'fd_ext_init' for extension %s: %s", ext->filename, dlerror());184 TRACE_DEBUG( NONE, "Unable to resolve symbol 'fd_ext_init' for extension %s: %s", ext->filename, dlerror()); 185 185 return EINVAL; 186 186 } … … 201 201 if (ret != 0) { 202 202 /* The extension was unable to load cleanly */ 203 TRACE_ ERROR("Extension %s returned an error during initialization: %s", ext->filename, strerror(ret));203 TRACE_DEBUG( NONE, "Extension %s returned an error during initialization: %s", ext->filename, strerror(ret)); 204 204 return ret; 205 205 }
Note: See TracChangeset
for help on using the changeset viewer.