Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4548 - in trunk/pgadmin3: . src/base

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4548 - in trunk/pgadmin3: . src/base
Date: 2005-10-14 22:46:11
Message-ID: 200510142246.j9EMkBN6004904@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage
Date: 2005-10-14 23:46:11 +0100 (Fri, 14 Oct 2005)
New Revision: 4548

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/base/sysLogger.cpp
Log:
Prevent errors in the logger causing crashes


Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt	2005-10-14 22:35:58 UTC (rev 4547)
+++ trunk/pgadmin3/CHANGELOG.txt	2005-10-14 22:46:11 UTC (rev 4548)
@@ -17,6 +17,7 @@
 </ul>
 <br>
 <ul>
+    <li>2005-10-14 DP  1.4B3 Prevent errors in the logger causing crashes
     <li>2005-10-14 DP  1.4B3 Use a sensible default location for the logfile
     <li>2005-10-12 AP  1.4B3 Fix count crash on tables (r: Merlin Moncure)
     <li>2005-10-12 AP  1.4B3 Fix slony detection on tables for pgsql7.x

Modified: trunk/pgadmin3/src/base/sysLogger.cpp
===================================================================
--- trunk/pgadmin3/src/base/sysLogger.cpp	2005-10-14 22:35:58 UTC (rev 4547)
+++ trunk/pgadmin3/src/base/sysLogger.cpp	2005-10-14 22:46:11 UTC (rev 4548)
@@ -181,6 +181,9 @@
 {
     wxString pid, logfile;
 
+    // Disable logging to prevent recursion in the event of a problem
+    wxLogNull foo;
+
     pid.Printf(wxT("%ld"), wxGetProcessId());
     logfile.Printf(wxT("%s"), logFile.c_str());
     logfile.Replace(wxT("%ID"), pid);


pgadmin-hackers by date

Next:From: svnDate: 2005-10-17 07:42:59
Subject: SVN Commit by dpage: r4549 - trunk/pgadmin3/src/agent
Previous:From: svnDate: 2005-10-14 22:35:58
Subject: SVN Commit by dpage: r4547 - trunk/pgadmin3/pkg/mac

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group