mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 04:08:12 +08:00
Fix eb logging. (#1692)
It now logs the requests to the file Fixes #1611
This commit is contained in:
@@ -19,9 +19,6 @@ if os.path.isdir("/opt/python/log"):
|
|||||||
datefmt="%Y-%m-%d %H:%M:%S",
|
datefmt="%Y-%m-%d %H:%M:%S",
|
||||||
)
|
)
|
||||||
|
|
||||||
# echo the logs to stdout. Useful for local testing
|
|
||||||
logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
|
|
||||||
|
|
||||||
SERVERDIR = os.path.dirname(os.path.realpath(__file__))
|
SERVERDIR = os.path.dirname(os.path.realpath(__file__))
|
||||||
sys.path.append(SERVERDIR)
|
sys.path.append(SERVERDIR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user