How to avoid new log file creation in n8n

We are adding the log files to n8n.log, in some time the logs are moved to n8n1.log how can i stop this… Can someone please help out on this

Hey @Vaithiyanathan_S,

You might need to set N8N_LOG_FILE_COUNT_MAX to 1 if you only want to keep one log file but you might also need to change N8N_LOG_FILE_SIZE_MAX so you can control the size.

2 Likes

Let me check already i do have the value N8N_LOG_FILE_SIZE_MAX