From 668ba958c77d46c87f54f8d6e77b5aac921b5733 Mon Sep 17 00:00:00 2001 From: James Cook <james@lindenlab.com> Date: Mon, 9 Nov 2009 15:59:53 -0800 Subject: [PATCH] Disabled saving notifications to disk because the load code hasn't worked for months, it spams the logs, and it hits the disk. Discussed with Q, the author. --- indra/llui/llnotifications.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index ef222bad608..eb8cc3e2c50 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -81,6 +81,11 @@ class LLNotificationHistoryChannel : public LLNotificationChannel void savePersistentNotifications() { + /* NOTE: As of 2009-11-09 the reload of notifications on startup does not + work, and has not worked for months. Skip saving notifications until the + read can be fixed, because this hits the disk once per notification and + causes log spam. James + llinfos << "Saving open notifications to " << mFileName << llendl; llofstream notify_file(mFileName.c_str()); @@ -107,6 +112,7 @@ class LLNotificationHistoryChannel : public LLNotificationChannel LLPointer<LLSDFormatter> formatter = new LLSDXMLFormatter(); formatter->format(output, notify_file, LLSDFormatter::OPTIONS_PRETTY); + */ } void loadPersistentNotifications() -- GitLab