Apparently with v2020.1, VI now writes a log file to .\MAS90\MAS_System\LogFiles\ every single time VI is run. My client has a scheduled export that runs every hour, and each time it writes a 16mb file. So after 1 month we'll have approximately 12gb of these files, which of course we must periodically clean up. This has a direct impact on overall available server space and the nightly backups. There really should be the ability to disable this, or at a minimum be able to specify an alternate location.

Comments

  • For my customer it was much worse. With their high volume daily VI imports and exports, 22 GB per day of new log files were growing in \LogFiles folder. This had a major impact on overall space and time required to do nightly backups.

    I created an unattended o/s task to clean that up every night but it still reflected poorly on the customer's perception of Sage. They said "why do have to put in workarounds for dealing with Sage caused issues by changing backup schedules and adding BAT / VBS files to delete files instead of Sage providing a front-end way to turn off the feature or at the very least specify an alternate location".

    There is also a separate unreported defect with Export Job Maintenance where clicking Job Log shows "The Log Table is empty" msg despite the physical log file existing. Import Job Maint is ok.

    Eventually to reduce backup time and to make them happier that an external o/s workaround wasn't required, I created a V/I mod to delete the log file immediately if AUTORUN was set (e.g. running from BAT file) and it was an export job since reviewing those was extremely rare anyway. It took it down to 2 add'l GB per day.

    Overall we are missing a front-end to:
    1. Disable / Enable logging for Import jobs. Disable means go back to old model of single log file.
    2. Disable / Enable logging for Export Jobs. Disable means go back to old model of single log file.
    3. Add options such as allow logging when manually running but not allow on AUTORUN (i.e. unattended via Sage Task Scheduler, BAT, VBS, or other means)
    4. Add option to specify alternate location of log files

  • Available in the 2021 Release - A Setup menu has been added to the Visual Integrator module. Visual Integrator Options has been added to the menu.

    In Visual Integrator Options you can manage the log files that are generated when running import and export jobs and when automatically scheduled jobs are run.

    You can specify whether to reuse the existing log files when jobs are run or create new ones. You can also select the location where log files are saved.

  • This is also available in the 2020 Product Update 2