Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.1 KB

README_scheduler.md

File metadata and controls

32 lines (26 loc) · 1.1 KB

gateleen-scheduler

Log scheduler configuration changes

To log the payload of changes to the schedulers, the RequestLogger can be used.

Make sure to instantiate the RequestLoggingConsumer by calling

RequestLoggingConsumer requestLoggingConsumer = new RequestLoggingConsumer(vertx, loggingResourceManager);

To enable the logging of the schedulers, make sure the url to the schedulers is enabled in the logging resource.

Example:

{
  "headers": [],
  "payload": {
    "filters": [
      {
        "url": "/playground/server/admin/v1/schedulers",
        "method": "PUT"
      }
    ]
  }
}

Also you have to enable the logging on the SchedulerResourceManager by calling

schedulerResourceManager.enableResourceLogging(true);