I have created a nodejs application which encapsulates four nodejs processes. Till now all the individual nodejs processes are using winston npm for logging to different log files. Now I want to make a single log file where every node process can log.
Does winston implicitly ensures the serialization of logging data to make it process safe(multiple process writing to same file without bothering about race conditions or deadlocks etc.)? or it's developer work to ensure only one process exclusively writes to the log file at a certain time.