Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 31 May 2007 22:44:49 +0000 (22:44 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 31 May 2007 22:44:49 +0000 (22:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3541 48e7efb5-ca39-0410-a469-dd3cf9ba447f

tools/tesh/tesh.c

index 3d3c7a9..3ad2a76 100644 (file)
@@ -74,6 +74,9 @@ static void handle_line(const char * filepos, char *line) {
   case 'p':
     INFO2("[%s] %s",filepos,line+2);
     break;
+  case 'P':
+    CRITICAL2("[%s] %s",filepos,line+2);
+    break;
 
   default:
     ERROR2("[%s] Syntax error: %s",filepos, line);