Change DISM logging levels when used with MDT? RRS feed

  • Question

  • I was wondering if anyone knows of a way to change the logging level of the DISM.LOG when it is generated during MDT task sequences? I know the dism command has a /loglevel option but I wasnt sure if there was anyway to have MDT use a different log level when it runs DISM. My DISM logs are huge and take forever to open in CMTrace so I'm looking for a way to just have it log errors and warning to the DISM log instead of everything.

    Any help would be appreciated...


    Wednesday, December 13, 2017 3:25 PM


  • After poking around the MDT files, I see no references of logevel option. Aside from locating corresponding cmdlines and modifying them directly, I am afraid there is nothing you can do. Here is an example:

    sCmd = sCmd & "/LogLevel:1 /Index:" & sImageIndex & " /ApplyDir:" & sDestinationDrive


    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    • Marked as answer by IT_Architect69 Thursday, December 14, 2017 1:27 PM
    Thursday, December 14, 2017 12:30 PM