Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK-m VTK-m
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 188
    • Issues 188
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTK-mVTK-m
  • Merge requests
  • !2468

Closed
Created Apr 10, 2021 by Nick Thompson@NAThompsonDeveloper
  • Report abuse
Report abuse

Don't initialize logging.

  • Overview 6
  • Commits 1
  • Pipelines 2
  • Changes 2

Calling the logging initialization code causes roughly the following output to be printed:

687: Test command: /builds/gitlab-kitware-sciviz-ci/build/bin/UnitTests_vtkm_io_testing "UnitTestImageWriter" "--device=openmp" "-v" "INFO" "--data-dir=/builds/gitlab-kitware-sciviz-ci/data/data" "--baseline-dir=/builds/gitlab-kitware-sciviz-ci/data/baseline" "--write-dir=/builds/gitlab-kitware-sciviz-ci/build"
687: Test timeout computed to be: 180
687: date       time         ( uptime  ) [ thread name/id ]                   file:line     v| 
687: 2021-04-10 21:09:29.142 (   0.001s) [main thread     ]             loguru.cpp:591   Info| arguments: UnitTestImageWriter --device=openmp -v INFO --data-dir=/builds/gitlab-kitware-sciviz-ci/data/data --baseline-dir=/builds/gitlab-kitware-sciviz-ci/data/baseline --write-dir=/builds/gitlab-kitware-sciviz-ci/build
687: 2021-04-10 21:09:29.142 (   0.001s) [main thread     ]             loguru.cpp:594   Info| Current dir: /builds/gitlab-kitware-sciviz-ci/build/vtkm/io/testing
687: 2021-04-10 21:09:29.142 (   0.001s) [main thread     ]             loguru.cpp:596   Info| stderr verbosity: 0
687: 2021-04-10 21:09:29.142 (   0.001s) [main thread     ]             loguru.cpp:597   Info| -----------------------------------
687: 2021-04-10 21:09:29.165 (   0.024s) [main thread     ]             loguru.cpp:471   Info| atexit

The only relevant information (the test command) is exactly the same as what is printed by ctest.

Removing this superfluous information causes the size of the log to decrease by roughly 5,000 lines, depending on the build configuration.

Edited Apr 10, 2021 by Nick Thompson
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: dont_initialize_logging