Logging usually refers to having a program save a record of it’s activity to a file, or to an event queue such as the Event Viewer application in Windows. The logs can later be analyzed during troubleshooting.