pveproxy disabling access log

chrcoluk

Renowned Member
Oct 7, 2018
217
44
68
46
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 :)