How to keep unnecessary events out of log? (ANSWERED)

JoeReMi

Member
I have some regular interval macros that are only relevant when I'm at work. Is there a way to make them only show up in the log if that is the case? This would make the log easier to parse.

Restricting these macros to a Work mode does not seem to have any effect. The only other thing I can think of is disabling the macros in Work mode but that seems a bit extreme.

Any suggestions?
 

Qarboz

Well-known member
I am aware of this. Is there a way for MacroDroid to do this automatically, based on location or Mode? Because that's what I'm looking for.
I don't think there is currently an action to stop/start logging.
You could create two macros with the same actions that are fired by different triggers based on location/mode, one with logging active and the other with logging inactive
 

Dm114

Well-known member
I have some regular interval macros that are only relevant when I'm at work. Is there a way to make them only show up in the log if that is the case? This would make the log easier to parse.

Restricting these macros to a Work mode does not seem to have any effect. The only other thing I can think of is disabling the macros in Work mode but that seems a bit extreme.

Any suggestions?
Both @Jacob L and @Qarboz suggestions are quite efficient to solve yout problem but yours (deactivating macros) could be the best for you. It's not "extreme" at all because you can do it programmatically as any other action.It's even a good thing to make MD a bit "lighter" (less RAM and CPU used).

To avoid storing huge text files (logs), I always untick this option (automatic logging) when creating a macro and scarcely use it for debug purpose when necessary. I even clear system log file periodically (unless there is a problem to search about).
 

JoeReMi

Member
Both @Jacob L and @Qarboz suggestions are quite efficient to solve yout problem but yours (deactivating macros) could be the best for you. It's not "extreme" at all because you can do it programmatically as any other action.It's even a good thing to make MD a bit "lighter" (less RAM and CPU used).

To avoid storing huge text files (logs), I always untick this option (automatic logging) when creating a macro and scarcely use it for debug purpose when necessary. I even clear system log file periodically (unless there is a problem to search about).
Thanks, I'll think on that. And also thank you to Jacob and Qarboz
 

Dm114

Well-known member
Thanks, I'll think on that. And also thank you to Jacob and Qarboz
Thank you for your feedback.

When you appreciate an answer you can use the "Like" button (at the bottom right of every post) or even quote the author in your answer or comment (just typing the first letters of his name preceded by @, such as "@joer" in your case).

Enjoy MD!
 
Top