Skip to content

Commit

Permalink
chore: Tweak DD4hep log level (#3778)
Browse files Browse the repository at this point in the history
DD4hep is currently quite log-happy. I raised the threshold in both Examples and Python a bit to avoid getting spammed.
  • Loading branch information
andiwand authored Oct 24, 2024
1 parent c34520f commit 0be21be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DD4hepGeometryService {
/// Log level for the geometry service.
Acts::Logging::Level logLevel = Acts::Logging::Level::INFO;
/// Log level for DD4hep itself
Acts::Logging::Level dd4hepLogLevel = Acts::Logging::Level::INFO;
Acts::Logging::Level dd4hepLogLevel = Acts::Logging::Level::WARNING;
/// XML-file with the detector description
std::vector<std::string> xmlFileNames;
/// The name of the service
Expand Down
2 changes: 1 addition & 1 deletion Examples/Python/python/acts/examples/odd.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def geoid_hook(geoid, surface):
dd4hepConfig = acts.examples.dd4hep.DD4hepGeometryService.Config(
xmlFileNames=[str(odd_xml)],
logLevel=customLogLevel(),
dd4hepLogLevel=customLogLevel(),
dd4hepLogLevel=customLogLevel(minLevel=acts.logging.WARNING),
geometryIdentifierHook=acts.GeometryIdentifierHook(geoid_hook),
)
detector = acts.examples.dd4hep.DD4hepDetector()
Expand Down

0 comments on commit 0be21be

Please sign in to comment.