Skip to content

Commit

Permalink
config: remove defunct logging_config (#342)
Browse files Browse the repository at this point in the history
* The next release of Traitlets will allow this to be configured at the
  Application level.
  • Loading branch information
oliver-sanders authored Apr 21, 2022
1 parent 938bd7c commit dcb91cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 66 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include cylc/uiserver/logging_config.json
include cylc/uiserver/logo.svg
include cylc/uiserver/py.typed
recursive-include cylc/uiserver/ui/ *
20 changes: 0 additions & 20 deletions cylc/uiserver/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,22 +293,6 @@ class CylcUIServer(ExtensionApp):
Takes effect on (re)start.
'''
)
logging_config = PathType(
config=True,
help='''
Set the path to a logging config JSON file.
This configures what gets logged where.
For more information on logging configuration see:
https://docs.python.org/3/library/logging.config.html
Currently only JSON format is supported.
If unspecified the default config located in
``cylc/uiserver/logging_config.json`` will apply.
'''
)
scan_interval = Float(
config=True,
help='''
Expand Down Expand Up @@ -378,10 +362,6 @@ def _get_ui_path(self):

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

@default('logging_config')
def _default_logging_config(self):
return Path(Path(uis_pkg).parent / 'logging_config.json')

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.workflows_mgr = WorkflowsManager(self, log=self.log)
Expand Down
45 changes: 0 additions & 45 deletions cylc/uiserver/logging_config.json

This file was deleted.

0 comments on commit dcb91cc

Please sign in to comment.