Performance Logging

Specify the '-P' command line argument to enable verbose logging of Lithium's internal performance metrics.

This can be done by editing the /Library/LaunchDaemon/com.lithiumcorp.lithium.plist file to include the -P argument as follows:



<key>EnvironmentVariables</key>
<dict>
    <key>PATH</key>
    <string>/Library/Lithium/LithiumCore.app/Contents/MacOS:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin</string>
</dict>
<key>GroupName</key>
<string>wheel</string>
<key>Label</key>
<string>com.lithiumcorp.lithium</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
  <string>/Library/Lithium/LithiumCore.app/Contents/MacOS/lithium</string>
  <string>-P</string>
  <string>-q</string>
  <string>-l</string>
  <string>/Library/Logs/Lithium</string>
  <string>core.so</string>
</array>
<key>UserName</key>
<string>root</string>