Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

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- 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

asked 2018-09-30 19:05:17 -0500

pbaker01's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi, By default, we are using java.util.logging. so you should run with -Djava.util.logging.config.file=yourlogfile.properties Please have a look at:https://docs.gigaspaces.com/xap/12.3/admin/logging-overview.html

Regards, Ester.

answered 2018-10-04 05:39:09 -0500

Ester's avatar
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-09-30 19:05:17 -0500

Seen: 568 times

Last updated: Oct 04 '18