3 # 2010 Razvan Deaconescu, razvan.deaconescu@cs.pub.ro
7 # * parses a client-specific log file
9 # Command line argument specifies client type, log folder and log file
11 # use _DEBUG="off" to turn off debug printing
14 if test $# -ne 3; then
15 echo "usage: $0 client-type log-folder log-file" 1>&2
19 # Read the global configuration file
20 # Check if the global configuration file exists
21 if [ ! -e globalconfig ]; then
22 echo "Warning: The global config file globalconfig does not exist."
27 # Read client mappings configuration file
28 # Check if the client mappings configuration file exists
29 if [ ! -e client_script_mappings ]; then
30 echo "Warning: The client mappings config file client_script_mappings does not exist."
32 source client_script_mappings
39 parse_client_log ${client_type} ${log_folder} ${log_file}