Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't use stderr to nicely interleave with outputs on stdout
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 25 Sep 2016 22:29:53 +0000 (00:29 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 25 Sep 2016 22:33:37 +0000 (00:33 +0200)
src/bindings/java/org/simgrid/NativeLib.java

index 209ef82..7929fc7 100644 (file)
@@ -165,11 +165,11 @@ public final class NativeLib {
                        try {
                                for (File f : dir.listFiles())
                                        if (! f.delete() )
-                                               System.err.println("Unable to clean temporary file "+f.getAbsolutePath()+" during shutdown.");
+                                               System.out.println("Unable to clean temporary file "+f.getAbsolutePath()+" during shutdown.");
                                if (! dir.delete() )
-                                       System.err.println("Unable to clean temporary file "+dir.getAbsolutePath()+" during shutdown.");                                
+                                       System.out.println("Unable to clean temporary file "+dir.getAbsolutePath()+" during shutdown.");                                
                        } catch(Exception e) {
-                               System.err.println("Unable to clean temporary file "+dir.getAbsolutePath()+" during shutdown: "+e.getCause());
+                               System.out.println("Unable to clean temporary file "+dir.getAbsolutePath()+" during shutdown: "+e.getCause());
                                e.printStackTrace();
                        }
                }