Modify

Opened 4 years ago

Last modified 4 years ago

#1723 confirmed defect

Output "increasing logging level" only on one process

Reported by: Erik Schnetter Owned by:
Priority: minor Milestone:
Component: Cactus Version: development version
Keywords: Cc:

Description

When running on 40,000 processes, then the message "INFO (Cactus): Increasing logging level from 0 to 3" is output 40,000 times. This is just crazy.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Frank Löffler

One solution would be to output this message (produced in CCTKi_SetLogLevel) only on one process. The only usage of this function seems to be from within CCTKi_CommandLineLoggingLevel, which produces this message when a logging level is specified on the command line, and this is executed for every process. We either have to disable the message inside CCTKi_SetLogLevel for processes other than, say, the root process, or we move the message out of that function, and up into CCTKi_CommandLineLoggingLevel, and there only do it on the root process. The effect would currently be the same, but the second option would provide a function which changes the loglevel without producing a message, while the former would always print a message on the root process (even if this might not be wanted). For this reason I propose the second option:

  • move the info call out of CCTKi_SetLogLevel, and into CCTKi_CommandLineLoggingLevel
  • making the info call in CCTKi_CommandLineLoggingLevel only on the root process

comment:2 Changed 4 years ago by Frank Löffler

Priority: unsetminor
Status: newconfirmed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as confirmed The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.