Index: trunk/ippToPsps/src/Fits.c
===================================================================
--- trunk/ippToPsps/src/Fits.c	(revision 31030)
+++ trunk/ippToPsps/src/Fits.c	(revision 31033)
@@ -26,5 +26,5 @@
     if (!strncmp(typename, "TSTRING", 7)) return TSTRING;
 
-//    this->logger->print(this->logger, MSG_ERROR, "Fits: Don't understand data type '%s'", typename);
+//    this->logger->print(this->logger, MSG_ERROR, "Fits", "Don't understand data type '%s'", typename);
 
     return 0;
@@ -36,14 +36,14 @@
 static void destroy(Fits* this) {
 
-    this->logger->print(this->logger, MSG_DEBUG, "Fits: Destructor\n");
+    this->logger->print(this->logger, MSG_DEBUG, "Fits", "Destructor\n");
 
     int status = 0;
     if (fits_close_file(this->file, &status)) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to close FITS file '%s'\n", this->path);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to close FITS file '%s'\n", this->path);
         fits_report_error(stderr, status);
     }
     else 
-        this->logger->print(this->logger, MSG_INFO, "Fits: Closed FITS file '%s'\n", this->path);
+        this->logger->print(this->logger, MSG_INFO, "Fits", "Closed FITS file '%s'\n", this->path);
 
     free(this);
@@ -60,5 +60,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Could not get value for header key '%s' from file at '%s'\n", name, this->path);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Could not get value for header key '%s' from file at '%s'\n", name, this->path);
         return false;
     }
@@ -86,5 +86,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Failed to read vector column %d row %ld\n", col, row);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Failed to read vector column %d row %ld\n", col, row);
         return false;
     }
@@ -102,5 +102,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Could not get column number for '%s'\n", name);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Could not get column number for '%s'\n", name);
         return false;
     }
@@ -123,5 +123,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to read col '%s'\n", name);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to read col '%s'\n", name);
         return false;
     }
@@ -131,5 +131,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to read type info for '%s'\n", name);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to read type info for '%s'\n", name);
         return false;
     }
@@ -147,5 +147,5 @@
     if (fits_movnam_hdu(this->file, type, name, 0, &status)) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Can't move to table extension named '%s'\n", name);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Can't move to table extension named '%s'\n", name);
         return false;
     }
@@ -178,5 +178,5 @@
     if (fits_get_num_rows(this->file, count, &status)) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Count not count rows in this table\n");
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Count not count rows in this table\n");
         return false;
     }
@@ -201,9 +201,9 @@
     if (remove(this->path) == -1) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to delete '%s'\n", this->path);
-        return false;
-    }
-
-    this->logger->print(this->logger, MSG_INFO, "Fits: Deleted FITS file at '%s'\n", this->path);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to delete '%s'\n", this->path);
+        return false;
+    }
+
+    this->logger->print(this->logger, MSG_INFO, "Fits", "Deleted FITS file at '%s'\n", this->path);
 
     return true;
@@ -235,5 +235,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to delete rows using rowlist\n");
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to delete rows using rowlist\n");
         return false;
     }
@@ -290,11 +290,11 @@
     else {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Don't understand datatype '%d'\n", datatype);
-        return false;
-    }
-
-    if (status) {
-
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to read column data from column %d\n", colnum);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Don't understand datatype '%d'\n", datatype);
+        return false;
+    }
+
+    if (status) {
+
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to read column data from column %d\n", colnum);
         return false;
 
@@ -338,5 +338,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to write column data for column %d\n", colnum);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to write column data for column %d\n", colnum);
         return false;
 
@@ -362,5 +362,5 @@
     if (status) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to create table: '%s'\n", name);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to create table: '%s'\n", name);
         return false;
     }
@@ -415,10 +415,10 @@
 
     Fits* this = init(path, logger);
-    this->logger->print(this->logger, MSG_DEBUG, "Fits: Constructor for existing file at '%s'\n", path);
+    this->logger->print(this->logger, MSG_DEBUG, "Fits", "Constructor for existing file at '%s'\n", path);
 
     int status = 0;
     if (fits_open_file(&this->file, path, READONLY, &status)) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to open FITS file here %s\n", path);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to open FITS file here %s\n", path);
         this->file = NULL;
     }
@@ -436,10 +436,10 @@
 
     Fits* this = init(path, logger);
-    this->logger->print(this->logger, MSG_DEBUG, "Fits: Constructor for new file at '%s'\n", path);
+    this->logger->print(this->logger, MSG_DEBUG, "Fits", "Constructor for new file at '%s'\n", path);
 
     int status = 0;
     if (fits_create_file(&this->file, path, &status)) {
 
-        this->logger->print(this->logger, MSG_ERROR, "Fits: Unable to create FITS file here '%s'\n", path);
+        this->logger->print(this->logger, MSG_ERROR, "Fits", "Unable to create FITS file here '%s'\n", path);
         this->file = NULL;
     }
