Skip to content

Commit dcb91cc

Browse files
config: remove defunct logging_config (#342)
* The next release of Traitlets will allow this to be configured at the Application level.
1 parent 938bd7c commit dcb91cc

File tree

3 files changed

+0
-66
lines changed

3 files changed

+0
-66
lines changed

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include cylc/uiserver/logging_config.json
21
include cylc/uiserver/logo.svg
32
include cylc/uiserver/py.typed
43
recursive-include cylc/uiserver/ui/ *

cylc/uiserver/app.py

-20
Original file line numberDiff line numberDiff line change
@@ -293,22 +293,6 @@ class CylcUIServer(ExtensionApp):
293293
Takes effect on (re)start.
294294
'''
295295
)
296-
logging_config = PathType(
297-
config=True,
298-
help='''
299-
Set the path to a logging config JSON file.
300-
301-
This configures what gets logged where.
302-
303-
For more information on logging configuration see:
304-
https://docs.python.org/3/library/logging.config.html
305-
306-
Currently only JSON format is supported.
307-
308-
If unspecified the default config located in
309-
``cylc/uiserver/logging_config.json`` will apply.
310-
'''
311-
)
312296
scan_interval = Float(
313297
config=True,
314298
help='''
@@ -378,10 +362,6 @@ def _get_ui_path(self):
378362

379363
raise Exception(f'Could not find UI build in {ui_path}')
380364

381-
@default('logging_config')
382-
def _default_logging_config(self):
383-
return Path(Path(uis_pkg).parent / 'logging_config.json')
384-
385365
def __init__(self, *args, **kwargs):
386366
super().__init__(*args, **kwargs)
387367
self.workflows_mgr = WorkflowsManager(self, log=self.log)

cylc/uiserver/logging_config.json

-45
This file was deleted.

0 commit comments

Comments
 (0)