A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping)
[simgrid.git]
/
tools
/
tesh
/
tesh.c
diff --git
a/tools/tesh/tesh.c
b/tools/tesh/tesh.c
index
3d3c7a9
..
3ad2a76
100644
(file)
--- 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);