Merge branch 'v3-log' into 'v3'

Restored old log path

See merge request openflexure/openflexure-microscope-server!167
This commit is contained in:
Richard Bowman 2024-01-10 19:53:53 +00:00
commit cf075c6261

View file

@ -4,8 +4,8 @@ import os
from fastapi.responses import FileResponse, PlainTextResponse
OFM_LOG_FOLDER = "/var/openflexure/log/"
OFM_LOG_FILE = os.path.join(OFM_LOG_FOLDER, "openflexure-microscope-server.log")
OFM_LOG_FOLDER = "/var/openflexure/logs/"
OFM_LOG_FILE = os.path.join(OFM_LOG_FOLDER, "openflexure-microscope.log")
def configure_logging():
root_logger = logging.getLogger()