From version 4.1
edited by Su Hyun Hwang
on 2019/03/14 13:13
To version 5.1
edited by Su Hyun Hwang
on 2019/03/14 13:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -25,3 +25,18 @@
25 25  Get the eventlogdataprovider in your local pc: [[https:~~/~~/github.com/ogema/ogema-widgets-extended/tree/master/src/timeseries-multieval-eventlogdataprovider>>url:https://github.com/ogema/ogema-widgets-extended/tree/master/src/timeseries-multieval-eventlogdataprovider]]
26 26  
27 27  In the Class EventLogFileParserFirst you have to give event’s ID. You can just name the event’s ID as you want. This ID should be static, so write the alphabets all with capital letters and store the explanation of the event’s ID as a content on the right side of equal. We have already learnd which logging text will be written at each event. These texts have to be found in looping process in each log-file. If you want to add a new event, consider a common logging text for this event.
28 +
29 +{{code language="java"}}
30 +public class EventLogFileParserFirst implements EventLogFileParser {
31 +
32 + private EventLogIncidents eli;
33 +
34 + public static final String RESTART_EVENT = "FrameworkRestart";
35 + public static final String UPDSERVER_NOCON_EVENT = "UpdateServerNoConnection";
36 + public static final String HOMEMATIC = "HomematicFehler";
37 + public static final String TRANSFER_FAIL_HOMEMATIC = "NoHomematicData";
38 + public static final String OLD_BUNDLE = "inactiveBundle";
39 + public static final String SHUTDOWN_DB = "device itself shutdowned and restarted";
40 +{{/code}}
41 +
42 +