script about auto replace printf to logger, not good enough
some simple driver and tools