Patent ID: 8463754

Claim:
Electrical equipment, comprising: a flash memory; an external recording medium inserting portion to which a removable external recording medium is inserted; a macro file storage portion to store a macro file for acquiring log information under control of an operation system and log information outside control of the operation system at a time; and a processor that operates as: a macro file executing portion to execute the macro file stored in the macro file storage portion and record log information obtained as a result of executing the macro file into the removable external recording medium inserted in the external recording medium inserting portion, in which the log information outside control of the operation system is exception log information output as a result of exception handling being performed in a CPU whereupon exceptional interrupt handling is executed, the exception log information includes a program address indicating where exception handling by the CPU is performed and an execution state of the CPU before an occurrence of the exception handling, and the flash memory stores the exception log information, and the macro file executing portion executes the macro file stored in the macro file storage portion and records, into the removable external recording medium inserted in the external recording medium inserting portion, the exception log information obtained from the flash memory as a result of executing the macro file.