loging as a command line param