AFAIK, there is no official required directory for storing these kinds of logs, but you should avoid cluttering system or app directories. Common locations include:
- Your user’s home directory (/home/yourusername/)
- /var/discourse/ itself (if you have write privileges), for temporary logs. A custom log directory you create, such as /var/discourse/logs/