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

Ask Your Question
0

Retrieving logging handler for the current GSC from code

Dear all,

I would need to log some exceptions on my GSC logger so that when using the gs-ui I could quickly identify them.

How can one do that? Probably one needs to retrieve the logger for the current service (or even better, the handler) and use it... Is there any kind of factory/static method to do that?

Best Regards

Edmondo

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3833]{quote}

asked 2012-03-08 04:53:02 -0500

edmondo1984 gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

Why won't you use the Admin API to access the log file?
See:
http://www.gigaspaces.com/wiki/display/XAP8/LoggingAPI

Shay

answered 2012-03-08 19:42:26 -0500

shay hassidim gravatar image
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

Stats

Asked: 2012-03-08 04:53:02 -0500

Seen: 17 times

Last updated: Mar 08 '12