Luup Loglevels

From MiOS
Revision as of 05:08, 13 April 2010 by Javier (Talk | contribs)

Jump to: navigation, search

By default only log levels 1-10 will make it to /var/log/cmh/LuaUPnP.log. The others are discarded. To add more log levels edit the file /etc/cmh/cmh.conf. To see all log entries check the verbose option on Advanced/Logs, or put a # in front of the LogLevels= line in /etc/cmh/cmh.conf

You can use grep to see only certain log entries. For example, to watch the log and see only critical errors and Z-Wave serial API traffic, use: tail -f /var/log/cmh/LuaUPnP.log | grep '^01\|^41\|^42' or to view the list of all devices in the system use: grep '^09' /var/log/cmh/LuaUPnP.log


 LV_CRITICAL   1
 LV_WARNING    2
 LV_STARTSTOP  3
 LV_JOB     4
 LV_HA     5
 LV_VARIABLE    6
 LV_EVENT    7
 LV_ACTION    8
 LV_ENUMERATION  9
 LV_STATUS    10
 LV_CHILD_DEVICES 11
 LV_LOCKING   20
 LV_IR    28
 LV_ALARM   31
 LV_SOCKET   32
 LV_DEBUG   35
 LV_PROFILER   37
 LV_PROCESSUTILS  38
// Z-Wave starts with 4
 LV_ZWAVE   40
 LV_SEND_ZWAVE  41
 LV_RECEIVE_ZWAVE 42
// Lua starts with 5
 LV_LUA    50
 LV_SEND_LUA   51
 LV_RECEIVE_LUA  52
// Insteon starts with 6
 LV_INSTEON   60
 LV_SEND_INSTEON  61
 LV_RECEIVE_INSTEON 62
Personal tools