Index: trunk/Mars/msim/MPhotonData.cc
===================================================================
--- trunk/Mars/msim/MPhotonData.cc	(revision 19662)
+++ trunk/Mars/msim/MPhotonData.cc	(revision 19738)
@@ -264,5 +264,5 @@
     // to the output file but only for the surviving photons
     if (f[0]>1)
-        cout << "MPhotonData::FillCorsika: WARNING - Bunch size > 1 (" << f[0] << ")" <<endl;
+        gLog << warn << "MPhotonData::FillCorsika: WARNING - Bunch size > 1 (" << f[0] << ")" <<endl;
 
 #ifdef __MMCS__
@@ -376,5 +376,5 @@
     // to the output file but only for the surviving photons
     if (f[0]>1)
-        cout << "MPhotonData::FillCorsikaThin: WARNING - Bunch size > 1 (" << f[0] << ")" <<endl;
+        gLog << warn << "MPhotonData::FillCorsikaThin: WARNING - Bunch size > 1 (" << f[0] << ")" <<endl;
 
     // x=north, y=west
