How to control output information

Hi:
I put the program on the server to run, but it outputs this message on the terminal

G4WT0 > --> Event 3683 starts with initial seeds (93519596,13327273).
G4WT0 > --> Event 3684 starts with initial seeds (44417086,70647760).
G4WT0 > --> Event 3685 starts with initial seeds (3948223,33124686).
G4WT0 > --> Event 3686 starts with initial seeds (22594289,52008258).
G4WT0 > --> Event 3687 starts with initial seeds (99738326,41550966).
G4WT0 > --> Event 3688 starts with initial seeds (34688421,47255435).
G4WT0 > --> Event 3689 starts with initial seeds (66492891,96343952).
G4WT0 > --> Event 3690 starts with initial seeds (84674879,58026979).
G4WT0 > --> Event 3691 starts with initial seeds (13027304,83696301).

I would like to ask how I can control this message output, for example, every 10000events again. Thank you all for your answers.

1 Like

Put the following command to your macro file with the desired multiple.
/run/printProgress 10000

add this line in the constructor of your event action class
G4RunManager::GetRunManager()->SetPrintProgress(1000000);