Share, Vote, & Discuss Ideas

We're constantly looking for new ways to improve our products and are asking you to help us by sharing your own ideas, voting for ideas you like, and discussing them with the rest of the community.

Improvements to structured log handling

My company has our Perforce server configured to use 5 different structured logs with a 365-day retention policy. Between that and a couple other things, there are nearly 2000 files in the log directory consuming 724GB of space. 

My suggestion is to add 2 new server configurables: 

serverlog.compress.N=[0-9] - Compression level to be applied to log file after rolling. 0 = do not compress, 1-9 corresponds to the compression level used by gzip where 1 is fastest and 9 is most compressed

serverlog.archive.N=/path/to/archive/directory

 

Setting both of these will result in saving a ton of disk space, and decluttering my logs directory while retaining the automatic roll, number & prune functionality which would be lost if I just moved them myself.

  • Guest
  • May 7 2018
  • Attach files