3 Replies
      Latest reply: Jan 26, 2016 1:56 AM by eskimo RSS
      Harbord Level 1 Level 1 (0 points)

        Hi,

         

        I am testing IKEv2 with OS X 10.11.4 Beta (15E27e) and can see neagent and nesessionmanager log entries in the /var/log/system.log when using the Console app.

         

        Is there way to increase the level of detail of the neagent and nesessionmanager log entries - i.e. to move from a standard logging level to a diag logging level ?

         

        Many thanks in advance.

        • Re: OS X neagent  nesessionmanager Logging Levels
          eskimo Apple Staff Apple Staff (4,400 points)

          Is there way to increase the level of detail … ?

          Yes there is.  This is controlled by the LogLevel preference in the com.apple.networkextension.control domain.  There’s also a LogToFile preference that causes these entries to be written to a file.  The standard procedure we send to folks who report a bug against Network Extension framework is:

          $ defaults write /Library/Preferences/com.apple.networkextension.control.plist LogLevel 6
          $ defaults write /Library/Preferences/com.apple.networkextension.control.plist LogToFile 1
          $ # Reproduce the problem
          $ /System/Library/Frameworks/SystemConfiguration.framework/Resources/get-mobility-info
          $ defaults write /Library/Preferences/com.apple.networkextension.control.plist LogLevel 5
          $ defaults write /Library/Preferences/com.apple.networkextension.control.plist LogToFile 0
          $ # Attach the .tar.gz file produced by get-mobility-info to the bug
          

          Assuming you’re not actually filing a bug, you should adapt this to meet your specific requirements.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"