Thanks to visit codestin.com
Credit goes to github.com

Skip to content

de-clutter console output #248

@ben-bay

Description

@ben-bay

Just to run hello_world, this seems like a little much:

(venv_maestro) geralt:maestrowf bay1$ maestro run samples/hello_world/hello_world.yaml
2020-04-14 14:22:00,313 - maestrowf.maestro:main:409 - INFO - INFO Logging Level -- Enabled
2020-04-14 14:22:00,313 - maestrowf.maestro:main:410 - WARNING - WARNING Logging Level -- Enabled
2020-04-14 14:22:00,313 - maestrowf.maestro:main:411 - CRITICAL - CRITICAL Logging Level -- Enabled
2020-04-14 14:22:00,313 - maestrowf.datastructures.yamlspecification:load_specification:104 - INFO - Loading specification -- path = samples/hello_world/hello_world.yaml
2020-04-14 14:22:00,316 - maestrowf.utils:create_parentdir:102 - INFO - Directory does not exist. Creating directories to /Users/bay1/maestrowf/sample_output/hello_world/hello_world_20200414-142200/logs
2020-04-14 14:22:00,316 - maestrowf.datastructures.core.study:__init__:199 - INFO - OUTPUT_PATH = /Users/bay1/maestrowf/sample_output/hello_world/hello_world_20200414-142200
2020-04-14 14:22:00,317 - maestrowf.datastructures.core.study:add_step:340 - INFO - Adding step 'hello_world' to study 'hello_world'...
2020-04-14 14:22:00,317 - maestrowf.datastructures.core.study:setup_workspace:379 - INFO - Setting up study workspace in '/Users/bay1/maestrowf/sample_output/hello_world/hello_world_20200414-142200'
2020-04-14 14:22:00,317 - maestrowf.datastructures.core.study:setup_environment:389 - INFO - Environment is setting up.
2020-04-14 14:22:00,317 - maestrowf.datastructures.core.studyenvironment:acquire_environment:191 - INFO - Acquiring dependencies
2020-04-14 14:22:00,317 - maestrowf.datastructures.core.study:configure_study:427 - INFO -
------------------------------------------
Output path =               /Users/bay1/maestrowf/sample_output/hello_world/hello_world_20200414-142200
Submission attempts =       1
Submission restart limit =  1
Submission throttle limit = 0
Use temporary directory =   False
Hash workspaces =           False
------------------------------------------

I think a lot of this could either be moved to the DEBUG logger level. At least the INFO level could be formatted to hide details such as the module's name and line.

Metadata

Metadata

Assignees

Labels

Good First IssueIf you're looking to get involved, these are good places to start!enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions