diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 23:47:03 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 23:47:03 -0400 |
commit | a3d23083c8dd2b9648b2ef397b0d8c068551b082 (patch) | |
tree | aab721808637b07bc2a8d6c27065a8596cb29e75 | |
parent | 9183c44b23c20a20a61bbb090ac7cd2196875a3a (diff) | |
download | qolab-a3d23083c8dd2b9648b2ef397b0d8c068551b082.tar.gz qolab-a3d23083c8dd2b9648b2ef397b0d8c068551b082.zip |
imports forward
-rw-r--r-- | examples/lock_eit.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index af3c894..bc78d26 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -1,7 +1,4 @@ import logging -# this should be done before justpy is called or log formatter does not work -logging.basicConfig(format='%(asctime)s %(levelname)8s %(name)s: %(message)s', datefmt='%m/%d/%Y %H:%M:%S') - import justpy as jp import pyvisa import numpy as np @@ -22,6 +19,10 @@ from qolab.data import TraceSetSameX, TraceXY, Trace from qolab.hardware.i_server import I800 from qolab.file_utils import get_next_data_file +# this should be done before justpy is called or log formatter does not work +logging.basicConfig(format='%(asctime)s %(levelname)8s %(name)s: %(message)s', datefmt='%m/%d/%Y %H:%M:%S') + + l = logging.getLogger('qolab.gui.web') l.setLevel(logging.INFO) l = logging.getLogger('qolab.tsdb') |