Nicolas BONARDELLE
-
2005-11-03
- priority: 5 --> 1
Rather than using only one Java program to make all the
treatments on the log files, use several dedicated
native programs.
For instance :
bardemerge log1.txt log2.txt > merged.txt
rather than :
java -cp bin;conf;mylib.jar.blabla barde.DuFu -if
log1.txt -if log2.txt > merged.txt
Pros :
- reduces a lot the length of the command-line
- simplifies the use of piped programs
Cons :
- must use another (native ?) language
- must maintain this system (registering programs as
commands, compilation if needed, environment variables,
behavior of pipes and i/o streams on different
platforms, ...)
Log in to post a comment.