Activating the log file setting changes Open a command window and change directory to /MSCMDirectory/config. Run the log4graft script. At the command line, type either of the following: log4graft.bat (Windows) log4graft.sh (UNIX)