NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Help with Log Settings

Open
#2,998 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Some log settings in NPM are not very clear to me, as the project's documentation doesn't provide any information about them. I've searched around and found out that the logs are located in files within the "data/logs" folder.

I would like to have a better understanding of how these files are managed to avoid compromising the disk capacity of my server. Additionally, I'm curious to know if it's possible to change the logging mode.

Here are the summarized questions regarding my doubts:

By default, NPM write files for each proxy host. Are these files deleted after a certain period of time?

Is it possible to stop writing these files? If so, is there a way to have all these logs written to the container's console?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how files in the data/logs folder are managed and how logging is configured for proxy hosts. Determine the documented answers about retention, disabling file logs, and sending logs to the container console. Done means the project's documentation clearly addresses all three questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.