pveproxy disabling access log

chrcoluk

Member
Oct 7, 2018
127
18
23
43
Simple question, how do I move or disable the log?

I am using nginx in front of it which I can significantly reduce writes by using its flush and buffer parameters, but pveproxy seems to have no documented way of manipulating its logging.
 

chrcoluk

Member
Oct 7, 2018
127
18
23
43
Achieved it by symlinking the log to /dev/null

This alongside with nginx access log changes, and some other stuff related to cluster services and I have hourly writes on my root ssd's from approx 1.1gig per hour to about 50meg per hour.

Daily would be 26 gig down to 1.2 gig.

I havent touched rrdcached which I have seen mentioned on here as another source of heavy writes, although the access logs were been written to every 1-2 seconds, so much heavier.
 
Last edited:

MrPete

Member
Aug 6, 2021
57
7
8
64
This would be a good area for general improvement, ie:
  • Track in PVE builds (what logs are frequently written)
  • Provide a basic level of GUI/scripted control over Potentially Unwanted Logging (PUL) similar to PUP in endpoint security :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!