In an information processing apparatus which executes a first module, a
second module, and a third module for mediating a call from the first
module to a function in the second module and obtaining the log of
processing in the second module, the third module determines operation
condition of the initialization processing when a call from the first
module to a function associated with initialization processing in the
second module is detected, executes the function associated with the
initialization processing in the determined operation condition, and
notifies the first module of the execution result.