You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you review the code for DisplayName, you'll see the use of a discriminator when starting the cache server resulting in a display name of CacheServer-1 (as an example).
Logging allows for a destination, but it doesn't use a discriminator so both cache servers would write to the same log.
I wrote something specific (see attached) to my purposes that might be useful as a starting point.
Using the example above, I would use LogOutput like: LogOutput.to(m_testName.getMethodName(), "CacheServer")
while would result in CacheServer-1.log and CacheServer-2.log in a directory with the same name as m_testName.getMethodName() LogOutput.java.zip
The text was updated successfully, but these errors were encountered:
Consider the following:
If you review the code for
DisplayName
, you'll see the use of a discriminator when starting the cache server resulting in a display name ofCacheServer-1
(as an example).Logging allows for a destination, but it doesn't use a discriminator so both cache servers would write to the same log.
I wrote something specific (see attached) to my purposes that might be useful as a starting point.
Using the example above, I would use
LogOutput
like:LogOutput.to(m_testName.getMethodName(), "CacheServer")
while would result in
CacheServer-1.log
andCacheServer-2.log
in a directory with the same name asm_testName.getMethodName()
LogOutput.java.zip
The text was updated successfully, but these errors were encountered: