Changeset 32855 for main

Show
Ignore:
Timestamp:
04.03.2019 22:09:46 (8 months ago)
Author:
ak19
Message:

Debugging from perl (mod)metadataaction cgiaction now gets printed to tomcat console. Was commented out before. Hope this won't break anything in the release. But it's useful output for debugging if something has gone wrong during setting/getting meta from archives or the other supported locations.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/GS2PerlConstructor.java

    r31771 r32855  
    752752 
    753753 
    754             //if(this.source == SafeProcess.STDERR) { 
    755             ///System.err.println("ERROR: " + line); 
    756             //} else { 
    757             ///System.err.println("OUT: " + line); 
    758             //}  
     754            if(this.source == SafeProcess.STDERR) { 
     755                System.err.println("STDERR: " + line); 
     756            } else { 
     757                System.err.println("STDOUT: " + line); 
     758            }    
    759759             
    760760            this.gotLine(line); // behaves threadsafe