Is there a way to prevent the Viewer from deleting log messages?
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.