I have this array called match
where match[0]
=
[2014-05-30 15:21:20,781] DEBUG [scheduler-4] (DiamondSchedulerRunner.java:41) Current node is not a manager of:publishEmail in tenant:0
[2014-05-30 15:21:20,781] DEBUG [scheduler-1] (DiamondSchedulerRunner.java:41) Current node is not a manager of:readEmail in tenant:0
[2014-06-11 10:18:51,370] ERROR [executorWithPoolSizeRange-5] (PushNotificationsServiceBean.java:140) cannot send notification: service Whaler is not available for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="dbb3b2b6bab5a8b3aef5afbaaeb5b09bb3abf5b8b4b6">[email protected]</a> on device Desktop.device.uuid813374
[2014-05-30 15:21:50,608] DEBUG [scheduler-3] (DiamondSchedulerProxy.java:96) Diamond Scheduler name:index Mode:TENANT_NODE runOnTenant:true split:true
[2014-05-30 15:21:50,624] DEBUG [scheduler-3] (DiamondSchedulerRunner.java:41) Current node is not a manager of:index in tenant:0
[2014-06-11 10:18:49,124] ERROR [executorWithPoolSizeRange-5] (PushNotificationsServiceBean.java:140) cannot send notification: service Whaler is not available for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1c7475717d726f746932687d6972775c746c327f7371">[email protected]</a> on device Desktop.device.uuid798084
[2014-05-30 15:21:50,780] DEBUG [scheduler-5] (DiamondSchedulerProxy.java:96) Diamond Scheduler name:snooze Mode:TENANT_NODE runOnTenant:true split:true
[2014-05-30 15:21:50,780] DEBUG [scheduler-5] (DiamondSchedulerRunner.java:41) Current node is not a manager of:snooze in tenant:0
[2014-05-30 15:21:50,796] ERROR [scheduler-4] (DiamondSchedulerProxy.java:96) Diamond Scheduler name:publishEmail Mode:TENANT_NODE runOnTenant:true split:true
In match[1]
, the timestamp, match[2]
shows the status, match[3]
contains thread names, and so forth. Is there a way to reverse the elements in the first index, match[0]
, so that the first line becomes the last line, and vice versa, without affecting other indices?
Even better, can I read through the first index line by line into another array and then simply reverse that latter array?