# HG changeset patch # User drewp@bigasterisk.com # Date 2023-05-28 00:56:28 # Node ID 2b8a2a25b154f48f1fce90af223f3519afec4059 # Parent abf812ca5ebad88c875a42190543c59ff69a64bd logging diff --git a/light9/collector/collector.py b/light9/collector/collector.py --- a/light9/collector/collector.py +++ b/light9/collector/collector.py @@ -29,10 +29,10 @@ def _outputMap(graph: SyncedGraph, outpu ret = cast(Dict[Tuple[DeviceUri, OutputAttr], Tuple[OutputUri, DmxMessageIndex]], {}) for dc in graph.subjects(RDF.type, L9['DeviceClass']): - log.info('mapping devices of class %s', dc) + log.info(' mapping devices of class %s', dc) for dev in graph.subjects(RDF.type, dc): dev = cast(DeviceUri, dev) - log.info(' 💡 mapping device %s', dev) + log.info(' 💡 mapping device %s', dev) universe = typedValue(OutputUri, graph, dev, L9['dmxUniverse']) if universe not in outputs: raise ValueError(f'{dev=} is configured to be in {universe=}, but we have no Output for that universe') @@ -73,6 +73,7 @@ class Collector: self.stickyAttrs: Dict[Tuple[DeviceUri, DeviceAttr], VTUnion] = {} def _compile(self): + log.info('Collector._compile:') self._outputByUri = self._compileOutputByUri() self._outputMap = _outputMap(self.graph, set(self._outputByUri.keys())) diff --git a/light9/live/Light9AttrControl.ts b/light9/live/Light9AttrControl.ts --- a/light9/live/Light9AttrControl.ts +++ b/light9/live/Light9AttrControl.ts @@ -137,7 +137,7 @@ export class Light9AttrControl extends L // not sure what this is, but it seems to be followed by good events return; } - log(ev.type, ev.detail.value); + // log(ev.type, ev.detail.value); this.value = ev.detail.value; // this.graphToControls.controlChanged(this.device, this.deviceAttrRow.uri, ev.detail.value); } diff --git a/light9/rdfdb/service.py b/light9/rdfdb/service.py --- a/light9/rdfdb/service.py +++ b/light9/rdfdb/service.py @@ -11,7 +11,7 @@ from light9 import showconfig logging.getLogger('rdfdb').setLevel(logging.INFO) logging.getLogger('rdfdb.file').setLevel(logging.INFO) logging.getLogger('rdfdb.graph').setLevel(logging.INFO) -logging.getLogger('rdfdb.net').setLevel(logging.DEBUG) +logging.getLogger('rdfdb.net').setLevel(logging.INFO) rdfRoot = Path(os.environ['LIGHT9_SHOW'].rstrip('/') + '/') showUri = URIRef(showconfig.showUri() + '/')