bunyan-rotating-file-stream icon indicating copy to clipboard operation
bunyan-rotating-file-stream copied to clipboard

Writing to a single file from multiple processes

Open skuchuk opened this issue 8 years ago • 1 comments
trafficstars

Hi, Can you estimate when the feature which allows multiple processes to write to a single file be released?

skuchuk avatar Apr 18 '17 06:04 skuchuk

This is definitely a feature I want, but I can't give a timeline for it as I don't know of a good approach to take.

The main issue is the lack of good locking semantics available to nodejs. But there are a number of issues. Might as well be worth using this issue to enumerate them. Some of them might not be issues in real life, but are things that concern me with the design, like overheads in synchronising, agreeing on log-file names, rollover logic, etc.

One thing that can be done is log to a logging service, such as splunk or logs.io. But these solutions aren't relevant to this particular project.

Rcomian avatar Apr 18 '17 08:04 Rcomian