Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
How to stop event temporally?
-
Hello,
I am wondering whether there is a way to stop all events logging for a period of time? Thank you very much!
Pine
-
To the best of my knowledge, there is no way to configure such a behavior in the officially supported Mango through the UI. This means the quality of the feature would be connected to how much effort you wanted to put into coding it, but a simple hardcoded solution can be achieved by compiling the core with a modified EventManager. If you modify the 'raiseEvent' method at line 89 of com.serotonin.m2m2.rt.EventManager.java to include something like ```
&& time % 1000606024 < 1000606012Also, I apologize, but I haven't explored possible time zone or server time issues that could arise trying the above method, though I suspect those are handled elsewhere for you already. -
Check out maintenance events.
-
The "System Settings - Other settings - Purge events older than" option works for my purpose. Thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login