I am experinecing a funny (and annoying) output problem on the Tornado
shell.
All my log messages (using both printf() or logMsg()) are being
repeated as many times as I call the function.

example function:

void myFunc(void)
{
printf("Hello World ! \n");

}

When I call myFunc() from the Tornado shell, it gives following
outputs:

for 1st time call:
-> myFunc
Hello World

for 2nd time call:
-> myFunc
Hello World
Hello World

for 3rd time call:
-> myFunc
Hello World
Hello World
Hello World

..... and so on.

Note that, my target shell doesn't repeat in the similar way as Tornado
shell does.
Any idea please !