(bug-fix:major) Reverted changes done in the last commit (since they prevented to write the metrics output file). Logging of RAIN output is now done by a separate thread; also, instead of logging all RAIN output, we now log only the output produced during the steadt-state phase.
(bug-fix:major) Reverted changes done in the last commit (since they prevented to write the metrics output file). Logging of RAIN output is now done by a separate thread; also, instead of logging all RAIN output, we now log only the output produced during the steadt-state phase.

sguazt/prometheus,sguazt/dcsxx-testbed,sguazt/prometheus,sguazt/prometheus