Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Logging to the same file from multiple processes #170

@bharathmysore

Description

@bharathmysore

I have a multi process server and want to log entries from all the process to the same file.
I am using 0.3.3 which provides separate log file for each process, in our case the servers are short leaved and we accumulate a lot of small file.

In my envirornment, i can remove the PidHasChanged() and get it working to some extent. Since I have multiple writer and no synchronization between them they may overwrite one another.

Is there any solution to handle this issue ?
Any glog server running locally on my machine, to which i can send the logs over local socket ?
Or any LOCKFILE kind of mechanism

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions