Update check_log.sh

Added perf return code
Added a parameter -w (--max_warning) defining upper value to return a warning code. Otherwise will return critical
*Note: it wont change the functionality of the script, unless you use -w or --max_warning parameter!
Update check_log.sh
Update check_log.sh

Fix print_usage()