Well, In fact I don't think this function needs improvement. 
Keeping the following line here is just for the ppl who don't want to check the monitor log files.
If you aren't satisfied with this patch, I can remove it from this pullreq.