Better logging.
Logging file name.
add support to completecommand