bugtrap.projectname | mandatory | string | The name of your application (length < 33, a-zA-Z_.0-9-) |
bugtrap.projectversion | mandatory | string | The version of your application. |
bugtrap.maxincidents | optional, default 2 | short | The maximum number of equal incident reports that are to be accepted. |
bugtrap.worker | optional | comma-separated list of strings | A list of freely ("bugtrap" is a reserved name for bugtrap-base) choosable worker names that are used for the subsequent worker configurations. |
Following an example runtime configuration for a project named myProject
Properties properties = new Properties(); properties.setProperty("bugtrap.projectname", "myProject"); properties.setProperty("bugtrap.projectversion","0.01"); properties.setProperty("bugtrap.worker","worker1,worker2"); properties.setProperty("bugtrap.maxincidents","2"); properties.setProperty("worker1.factory","..."); properties.setProperty("worker1.aProperty","..."); ... properties.setProperty("worker2.factory","..."); properties.setProperty("worker2.aProperty","..."); ... // and here`s the queueAdapter that is used for the actual logging QueueAdapter queueAdapter = Adapters.getAdapter(properties);