Hello @Neil_Carmichael
See here, you can set these env vars and store to file, I would recommend using the metrics endpoint also.
| n8n.log.level | N8N_LOG_LEVEL | The log output level. The available options are (from lowest to highest level) are error, warn, info, and debug. The default value is info. You can learn more about these options here. |
|---|---|---|
| n8n.log.output | N8N_LOG_OUTPUT | Where to output logs. The available options are console and file. Multiple values can be used separated by a comma (,). console is used by default. |
I’d recommend using WSL also if not already, this can help when access dockers on windows machines saves some issues.
Also, I made this which may be useful for you regarding the metrics I mentioned earlier.
Hope this helps,
Samuel