ldmx-sw icon indicating copy to clipboard operation
ldmx-sw copied to clipboard

Put SimCore logging messages into logger format

Open tomeichlersmith opened this issue 5 years ago • 4 comments

This isn't very complicated, just cumbersome.

Now that Framework has the logging enabled and configurable from the python, we start updating classes to use the logger. My plan is to leave "verbosity" settings in each of the classes that have them so that a user can have specific channels be very verbose while keeping others quiet for debugging. But the messages can still be sent through the logger framework.

tomeichlersmith avatar Jul 09 '20 20:07 tomeichlersmith

Does this mean to have all the cout-s replaced with

ldmx_log(info)

?

Do you wanna break this up to subdirectory level and divide the work among ourselves?

tvami avatar May 06 '24 19:05 tvami

Kinda yea, I just transferred this from the SimCore repo so its mainly focused on the SimCore area where there are a lot more couts floating around.

In simulation, we also have the question on if we want to redirect G4cout and G4cerr into our logging or not. (I kinda want to since I don't like having to check separate logs but it would change things).

tomeichlersmith avatar May 06 '24 20:05 tomeichlersmith

ok I see, then there is not much dividing to be done! And I also agree it would be good to have just one logging system and not to use G4cout

tvami avatar May 06 '24 20:05 tvami