-
Couldn't load subscription status.
- Fork 21
Open
Description
Problem
The USER_CONF_ROOT path is used in a variety of places for storing logs, secrets and the Jupyter database. While most uses are configurable in jupyter_config.py, the output path of RotatingUISFileHandler is not. We'd like to place this log in a different location with append-only permissions.
Proposed Solution
- Allow
USER_CONF_ROOTto be configured with an environment variable, e.g.$CYLC_CONF_PATHin the same way as cylc-flow.
and/or
- Add a new configuration item e.g.
c.CylcUIServer.server_log_paththat sets an output path forRotatingUISFileHandler(defaulting toUSER_CONF_ROOT/logas it currently does).
I can see a complication that RotatingUISFileHandler is initialised very early in the startup, potentially before the configuration is loaded.
Metadata
Metadata
Assignees
Labels
No labels