Oscam has no mg_cfg, Oscam uses oscam.* (several) files for configuration
go to CONFIG in Oscam WebIF, set path for logfile, usualy tmp-folder (/tmp/oscam.log) and get it before shutdown of the box (Log file / max size:), set max-size (300kb should be much more than required) and enable before Save-Button