Mercurial > code > home > repos > light9
changeset 2220:e6ae7bfc12f2
logging adjustments
author | drewp@bigasterisk.com |
---|---|
date | Tue, 23 May 2023 20:08:24 -0700 |
parents | 165fc8ed28ab |
children | 230748e76f53 |
files | light9/effect/effecteval.py light9/rdfdb/service.py |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/effect/effecteval.py Tue May 23 16:26:32 2023 -0700 +++ b/light9/effect/effecteval.py Tue May 23 20:08:24 2023 -0700 @@ -104,7 +104,6 @@ if ea==L9['strength']: s = v - print('scaled to', effect_scale(s, self.devs)) return effect_scale(s,self.devs ) return self.function(inputs)
--- a/light9/rdfdb/service.py Tue May 23 16:26:32 2023 -0700 +++ b/light9/rdfdb/service.py Tue May 23 20:08:24 2023 -0700 @@ -2,12 +2,16 @@ import os from pathlib import Path +from light9.run_local import log + import rdfdb.service from rdflib import URIRef from light9 import showconfig -from light9.run_local import log - +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) rdfRoot = Path(os.environ['LIGHT9_SHOW'].rstrip('/') + '/') showUri = URIRef(showconfig.showUri() + '/') @@ -22,4 +26,3 @@ 'effect': URIRef('http://light9.bigasterisk.com/effect/'), 'dev': URIRef('http://light9.bigasterisk.com/theater/skyline/device/'), }) -log.info('made app') \ No newline at end of file