code: function processLoggingMessage(req, res) {
      let applicationConfig = AmorphicContext.applicationConfig;
      let path = url.parse(req.originalUrl, true).query.path;
      let session = req.session;
      let message = req.body;
      let persistableSemotableTemplate = persistor(null, null, semotus);
  
      if (!session.semotus) {
          session.semotus = {controllers: {}, loggingContext: {}};
      }
  
      if (!session.semotus.loggingContext[path]) {
          session.semotus.loggingContext[path] = getLoggingContext(path, null);
      }
  
      // TODO why can't appConfig be taken out here?
      setupLogger(persistableSemotableTemplate.logger, path, session.semotus.loggingContext[path],
          applicationConfig);
  
      persistableSemotableTemplate.logger.setContextProps(message.loggingContext);
  
      persistableSemotableTemplate.logger.setContextProps({
          session: req.session.id,
          ipaddress: (String(req.headers['x-forwarded-for'] ||
              req.connection.remoteAddress)).split(',')[0].replace(/(.*)[:](.*)/, '$2') || 'unknown'});
  
      message.loggingData.from = 'browser';
      persistableSemotableTemplate.logger[message.loggingLevel](message.loggingData);
      res.writeHead(200, {'Content-Type': 'text/plain'});
      res.end('');
  }
docs: Purpose unknown
  
  @param {unknown} req unknown
  @param {unknown} res unknown