Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds wrapping appender which adds process wide lock #12

Open
mfreiholz opened this issue Aug 19, 2014 · 1 comment
Open

Adds wrapping appender which adds process wide lock #12

mfreiholz opened this issue Aug 19, 2014 · 1 comment

Comments

@mfreiholz
Copy link
Owner

Ideas:

  • Semaphores
  • Lock file

Its currently only useful for all kind of FileAppenders, if multiple processes try to log into the same file.

@mfreiholz mfreiholz added this to the Idea Collection milestone Aug 19, 2014
@hsimpson
Copy link
Contributor

On Windows you can use CreateMutex() with the name "Global\MyMutexName" to get a "global" mutex which is valid for more then on process. Suggestion add the executable name to the path name.

@mfreiholz mfreiholz removed this from the Idea Collection milestone Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants