From: mquinson Date: Thu, 31 May 2007 22:44:49 +0000 (+0000) Subject: Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping) X-Git-Tag: v3.3~1819 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5a18476fe103e7af163c301d9a21b7b5ebe50e1a?hp=7ae0d2d3b76afc9208ce9850cedbc17eb6207967 Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3541 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 3d3c7a9215..3ad2a7609b 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -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);