1 Reply
      Latest reply on Mar 11, 2020 2:19 AM by eskimo
      PraveenGowda Level 1 Level 1 (0 points)

        Requirement:

        Whenever i run the cocoa app exe, I should be able to enable the log level (info, debug, error, fault) using mac terminal.

         

        if i enable log level as debug, only debug logs should appear in terminal at runtime.

         

        i used the below command to enable the log level as "debug" in subsytem plist file.

         

        "sudo log config --mode "level:debug" --subsystem com.companyName.ProjectName"

         

        but its not enabling the log level, please let me know the steps to achieve this.