Environment variables discrepancy

Hello awesome team,

I have a question which variables should I use?

Describe the problem/error/question

Which environment variables to use for n8n log file max size when setting up through docker compose.

Logging | n8n Docs - N8N_LOG_FILE_MAXSIZE
Environment variables reference | n8n Docs - N8N_LOG_FILE_SIZE_MAX

What is the error message (if any)?

using N8N_LOG_FILE_MAXSIZE does not appear to be honoured (there was also log file size created 437MB)

Information on your n8n setup

  • **n8n version: 0.219.1
  • **Database (default: SQLite): Postgresql 13
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • **n8n EXECUTIONS_MODE: queue
  • **Operating system: Ubuntu 18.04.6 LTS

Thanks,

Hey @santo,

Good spot I will get this updated today, the correct value should be N8N_LOG_FILE_SIZE_MAX which should have a default of 16 so a 400mb file is a bit unexpected.

Thanks @Jon!

Regarding the large file, it was a mounted nfs4 and the last time it occurred was around March. We did an upgrade around April/May from 0.199 to 0.219.1 so hopefully that fixes it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.