UDJC Logging


UDJC (User Defined Java Classes) allow for logging statements such as logBasic("test");.

The logs are stored in the following manner:

  • It goes to a Hop logging channel.

  • It ends up in HopLogStore.getInstance() which is initialized when you run HopEnvironment.init()

  • The logging hierarchy is in LoggingRegistry.getInstance()

  • The logging text can be accessed with something like: HopLogStore.getInstance().getAppender().getBuffer(pipeline.getLogChannelId(), true);