is it possible to not include `hostname` and `pid` from the logs?

Author: jhudson8Created Aug 6, 2017Updated Nov 4, 2024

I understand the general need for these but I'm using these logs but in my case these logs are on a single machine and these attributes add 15% ish unnecessary file size. Is there any way I can not include these attributes in the logs?

I'm using the rotating file logger. Thanks.