Create SystemShutdown error log on core overtemp

Create a SystemShutdown error log when
3 cores are over 115C.

Resolves openbmc/openbmc#2190

Change-Id: If8e9241cfd0aec8ac84f6d8ca77d628a89c24442
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml b/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml
index 84b6b9a..f4419e0 100644
--- a/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml
+++ b/meta-witherspoon/recipes-phosphor/fans/witherspoon-thermal-policy/thermal-policy.yaml
@@ -150,6 +150,7 @@
     - shutdown
     - log
     - create criticalhigh error
+    - create shutdown error
 
 - name: shutdown
   description: >
@@ -188,3 +189,12 @@
     - name: xyz::openbmc_project::Sensor::Threshold::CriticalHigh::SENSOR_TYPE
       value: temperature
       type: string
+
+- name: create shutdown error
+  description: >
+    'Create a SystemShutdown Error log.'
+  class: callback
+  callback: elog
+  paths: core sensors
+  properties: core temp
+  error: xyz::openbmc_project::State::Shutdown::ThermalEvent::Error::Processor