Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to prevent the Viewer from deleting log messages?

deleting log Messages viewer
0
Posted

Is there a way to prevent the Viewer from deleting log messages?

0

There is no way to disable deletion or flag things so a confirmation dialog comes up. You can however do two things: First, you can create a second query that has its auto-delete setting disabled. This will effectively act as a recycle bin as any messages deleted in other queries will simply get flagged with a red X in the ‘recycle bin query’ rather than automatically discarded. This will also cause the viewer to ask you if you want to restore deleted messages when you shut it down or close the workspace. The second thing to keep in mind is that deleting a log message in the viewer has no effect on the server’s log message cache. As such, you can at any time go to the viewer’s connection configuration dialog and 1) close the connection, 2) reset the connection’s ‘cookie’ , and 3) reconnect and (because of the now NULL cookie) redownload every message the server still has in its cache.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123