          CALL LOG_TABLES(LOG_ID, LEV_ID, NEW_MESSAGE);
        WHEN 0 THEN -- Drops the message.
          CALL LOG_NULL(LOG_ID, LEV_ID, NEW_MESSAGE, CONFIGURATION);
-       -- >>>
-       -- Put here any other appender.
-       -- <<<
        ELSE -- By default writes in the table.
-         CALL LOG_TABLES(LOG_ID, LEV_ID, NEW_MESSAGE);
+        DYNAMIC : BEGIN
+         DECLARE STMT STATEMENT;
+         PREPARE STMT FROM 'CALL LOG_' || APPEND_NAME || '(?, ?, ?, ?)';
+         EXECUTE STMT USING LOG_ID, LEV_ID, NEW_MESSAGE, CONFIGURATION;
      END CASE;
     ELSE
        -- Internal logging.

     END IF;
    END IF;
    FETCH REFERENCES INTO LOGGER_ID_FETCHED, CURRENT_APPENDER_NAME, APPENDER_ID,
      CONFIGURATION, PATTERN, LVL_REF;
   END WHILE;
   CLOSE REFERENCES;
  ELSEIF (LOG_ID = -1) THEN

   OPEN REFERENCES;
   SET AT_END = FALSE;
   FETCH REFERENCES INTO LOGGER_ID_FETCHED, CURRENT_APPENDER_NAME, APPENDER_ID,
     CONFIGURATION, PATTERN, LVL_REF, APPEND_NAME;

   -- Iterates over the results.
   WHILE (AT_END = FALSE) DO
