pveproxy disabling access log

chrcoluk

Renowned Member
Oct 7, 2018
175
29
68
45
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.
 
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:
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 yours easily in our online shop.

Buy now!