Index: trunk/FACT++/src/calcsource.cc
===================================================================
--- trunk/FACT++/src/calcsource.cc	(revision 19075)
+++ trunk/FACT++/src/calcsource.cc	(revision 19076)
@@ -608,5 +608,5 @@
         {
             cerr << query2 << "\n\n";
-            cerr << "SQL query failed:\n" << e.what() << endl;
+            cerr << "SQL query (" << query2.length() << " bytes) failed:\n" << e.what() << endl;
             return 8;
         }
Index: trunk/FACT++/src/root2sql.cc
===================================================================
--- trunk/FACT++/src/root2sql.cc	(revision 19075)
+++ trunk/FACT++/src/root2sql.cc	(revision 19076)
@@ -554,5 +554,8 @@
 
     if (verbose>0)
+    {
         cout << "\n--------------------------- Inserting data -------------------------" << endl;
+        cout << "Sending INSERT query (" << query.length() << " bytes)"  << endl;
+    }
 
     try
@@ -570,5 +573,5 @@
     {
         cerr << query << "\n\n";
-        cerr << "SQL query failed:\n" << e.what() << endl;
+        cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;
         return 6;
     }
