Modified: Added attribute of log directory.