Added log table & regex field to sensor/channel table