please include function print. static void printLogMaxChars(int chars) { print_log_max = chars/2; }