Closed GoogleCodeExporter closed 9 years ago
Think it would be difficult to monitor these files. I would probably change the
program so it attempts to claim a global mutex "MethodServer-N" at startup.
It tries "Global\\MethodServer-1", "Global\\MethodServer-2",
"Global\\MethodServer-N". The program then uses the next available mutex name
for the log file name (Can still contain process-id):
"MethodServer-N-DateTime-ProcessId-log4j.log"
Then it is a matter of setting up a monitoring of the following log files using
wildcard:
"MethodServer-1-*"
"MethodServer-2-*"
"MethodServer-3-*"
"MethodServer-N-*"
Until you get tired, or that you believe that no more instances of MethodServer
will be running simultaneously.
Original comment by sweaty1
on 21 Nov 2013 at 10:35
Original issue reported on code.google.com by
kremer...@gmail.com
on 9 Nov 2013 at 11:25