log and cfg files are genreated when neede