./connectors/modx.config.js.php
$modx->log(modX::LOG_LEVEL_ERROR, '[Wayfinder] IAN: LOG_LEVEL_ERROR'); $modx->log(modX::LOG_LEVEL_DEBUG, '[Wayfinder] IAN: LOG_LEVEL_DEBUG'.print_r($scriptProperties,true)); $modx->log(modX::LOG_LEVEL_ERROR,’Testing: ’ . $resourceId);
[2015-06-24 17:18:03] (ERROR @ /modx/modx-sample-site/connectors/modx.config.js.php) Error caching lexicon topic lexicon/en/core/resource
[2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/1c656b9d6b7f6cc759a43625a9b5b06b/0/ to /Applications/MAMP/htdocs/modx/tech-team-demo/index.php [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/1c656b9d6b7f6cc759a43625a9b5b06b/1/ to /Applications/MAMP/htdocs/modx/tech-team-demo/ht.access [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/0/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/assets [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/1/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/controllers [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/2/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/templates [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/3/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/min [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/4/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/ht.access [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/5/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/cache.manifest.php [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not copy /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/modContext/ff6120c493ce56e74d608289a9d3493d/6/ to /Applications/MAMP/htdocs/modx/tech-team-demo/manager/index.php [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not install files from /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/xPDOFileVehicle/e2e0c23aab7d2a040e65228923bf8b9d/ to /Applications/MAMP/htdocs/modx/tech-team-demo/connectors/ [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not install files from /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/xPDOFileVehicle/04a5da60703f5f41be1da601c1dca692/ to /Applications/MAMP/htdocs/modx/tech-team-demo/connectors/ [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not install files from /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/xPDOFileVehicle/2259bb7a4252c78e448d9eaab398079b/ to /Applications/MAMP/htdocs/modx/tech-team-demo/connectors/ [2015-06-24 15:20:29] (ERROR @ /modx/tech-team-demo/setup/index.php) Could not install files from /Applications/MAMP/htdocs/modx/tech-team-demo/core/packages/core/xPDOFileVehicle/f5434a3338faf93fc8ac71649bc4eaec/ to /Applications/MAMP/htdocs/modx/tech-team-demo/connectors/
This question has been answered by multiple community members. See the first response.
$modx->log(modX::LOG_LEVEL_ERROR, '[mySnippet] missing the &xyz property!');
$modx->setLogLevel(modX::LOG_LEVEL_INFO);
$oldLogLevel = $modx->setLogLevel(modX::LOG_LEVEL_INFO);; // your code $modx->setLogLevel($oldLogLevel);
[2015-07-09 12:30:45] (DEBUG @ /modx/demo/manager/index.php) Language string not found: "media_desc" [2015-07-09 15:05:36] (ERROR @ /modx/demo/connectors/lang.js.php) Error caching action map mgr/actions [2015-07-09 15:10:20] (DEBUG @ /modx/demo/manager/index.php) Language string not found: "media_desc"