Patent ID: 8578197

Claim:
An image processing apparatus comprising: a main power switch configured to turn OFF a main power; a detecting part configured to detect an OFF state of the main power switch; a storage unit configured to store log information; a managing part configured to perform a first process to store the log information in the storage unit and a second process necessary to turn OFF the main power; a generating part configured to generate the log information by performing a third process necessary to turn OFF the main power, and to send to the managing part a first request signal causing the managing part to perform the first process on the generated log information; and a request part configured to send to the managing part a second request signal causing the managing part to perform the second process and to send to the generating part a third request signal causing the generating part to perform the third process, when the detecting part detects the OFF state of the main power switch, wherein the generating part sends a third end signal to the request part when the third process and a process of sending the first request signal end, wherein the managing part sends a second end signal to the request part when the second process ends, wherein the request part sends a log storage request end signal to the managing part when the second end signal and the third end signal are received; and wherein the managing part stores all log information requested by the first request signal to be stored in the storage unit by a time when the log storage request end signal is received before turning OFF the main power.