fix compiler warnings in log_control/console_generate
fix compiler warnings in log_control/console_generate

jdkoftinoff/jdksavdecc-c,jdkoftinoff/jdksavdecc-c,arvidtp/jdksavdecc-c,jdkoftinoff/jdksavdecc-c,arvidtp/jdksavdecc-c,jdkoftinoff/jdksavdecc-c,arvidtp/jdksavdecc-c,arvidtp/jdksavdecc-c