Changeset 32855


Ignore:
Timestamp:
03/04/19 22:09:46 (2 years 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.