Follow Agent log guidance. Use the template: agent log template. Store logs under the agent’s log directory (e.g., log).