An image forming device is capable of executing an application. In the
image forming device, a determining unit is configured to determine, in
response to a request of execution of a communication process from the
application, whether the communication process is an encrypted
communication based on contents of a call stack which stores the request.
A log recording unit is configured to record log information of the
communication process in a storage device when the communication process
is determined as being an encrypted communication.