Class LogRestService

Object
LogRestService

@DeclareRoles("deputy") @RolesAllowed("deputy") @Path("/administration/systemlog") public class LogRestService extends Object

Allows getting the log. You can find it at /karchangame/resources/administration/systemlog.

Author:
maartenl
  • Constructor Details

    • LogRestService

      public LogRestService()
  • Method Details

    • getLog

      @GET public String getLog(@QueryParam("name") String name, @QueryParam("from") String from, @QueryParam("to") String to)
      Returns:
      most recent 100 log messages from the system log.