launch logger in C