add log_table_trim procedure

a procedure to maintain (ie delete old datat from ) the log_table;
add more functions to loglevel. additioans to all_markers table