Client Logging Configuration
How do I configure the client side gigaspace logging?
- Log file name
- log level
- etc
I have created a test stub that connects to our gs space. The the stub is using log4j but the appl config is not recognized by gs. What do I need to do to redirect gs log entries to a file?
C:\temp>java -jar gstester-0.0.1-SNAPSHOT.jar 2018-09-30 19:42:35,855 CONFIG [com.gigaspaces.logger] - Log file: C:\logs\2018-09-30~19.42-gigaspaces-service-10.215.21.236-17116.log 2018-09-30 19:42:35,845 INFO [net.jini.discovery.LookupLocatorDiscovery] - Connected to LUS using locator lahznyy093d.xxx2.dc.xxxx.xxx:4622
Enter command: 2018-09-30 19:43:24,203 WARNING [com.gigaspaces.xxxxxproxy.router.xxxxxSpace] - Async execution failed: java.rmi.ConnectIOException: null; nested exception is: java.io.IOException: [during read length]:java.io.IOException: An existing connection was forcibly closed by the remote host, request=xxxxxSpace_container2:xxxxxlSpace=>ExecuteTas kSpaceOperationRequest[task=org.openspaces.core.executor.internal.InternalSpaceTaskWrapper@6f60e48] 2018-09-30 19:43:24,284 INFO [com.gigaspaces.spaceproxy.router.lookup.availSpace] - Active server for partition #2 is updated to xxxxxSpace_container2:xxxxxlSpace