Unable to Share Logs Folder or Files with the AI Agent

I’m experiencing issues when trying to share a logs folder with the AI model in Cursor. Although the folder contains valid log files, it doesn’t appear in the /folders list.

Additionally, when I attempt to share a specific file, such as debug.log, it immediately disappears from the context right after being included.

Is there something we should know about limitations or restrictions when sharing log folders or files with the AI? Any guidance or solutions would be greatly appreciated, as this is blocking my workflow.

Make them part of your embeddings here:

1 Like

Thank you for your response and suggestion. I’ve managed to solve the issue, and I’d like to share my solution in case it helps others.

I configured the logs extracted from the project and downloaded to the /logs folder in Cursor to have a maximum size of 5 MB and a maximum of 100 debug lines. By reducing the file sizes, Cursor was finally able to process them correctly.

I deduce that the issue was due to the logs being too large, which likely made it difficult or impossible for Cursor to include them in the context. Reducing the file size seems to have been the key to resolving the problem.

Thank you again for your input :heart:

1 Like