How to completely disable sending logs to the database?

In the contents of the website, there are settings to limit the log stored in the database. For example, to save the log for several days.
I want to completely disable the sending of logs to the database so that the overhead of sending logs is not on the system and the pipeline works faster. How should I disable sending logs to the database?
I am using version 1.67 and I installed the Postgres database separately and gave its address to the n8n.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @webdepartment_webdep

Welcome to the community!

Not sure if this is what you mean, but as you mention log pruning I am asuming you mean executions.

You can disable saving executions in the workflow settings (top right when inside a workflow)
There is probably also an env variable to set it for the whole instance. But you will have to search the env variables for that :wink:

I did not find a variable for this. Please tell me if this variable exists.

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