Transferring file write operation to another host

I have a process running on two hosts in Active/Standby mode. Process running on active machine is handling the traffic while process running on Standby machine is sitting idle.
We have a debugging mechanism in which logs are generated on local machine. When logging is enabled then process running on Active machine starts creating log files on local machine which leads to high CPU consumption due to expensive file write operation.

What I want is to transfer file write operation to standby machine i.e. when I enable logging then process running on active machine should not do any write operation, instead it should send log info to any process running on another machine which will create log file on standby machine. This way I will be able to save CPU on active machine even when logging is enabled .

Can anyone tell me how to do it ?

IMHO you would then have network contention issues...
The solution may reside in redesign of your architecture:
Where is it writing? Physically what else is on/uses this disk?
If it is rootdisk, why not use SAN storage with more HBAs and do some load balancing?
etc..
...
(Just thoughts...)