Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Extension Point for EMBridge Subscriber Providers #160

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

camac
Copy link
Contributor

@camac camac commented Mar 28, 2017

The extension point allows IEMBridgeSubscriberProviders to be registered that will provide a list of IEMBridgeSubscribers to be added during startup of the IEMBridgeMessageQueue

I've included a System.out.println("..") statement to output a message when a SubscriberProvider is being used. But let me know if you want to comment it out (I'm not sure on ODA Policy on use of console but I think this is handy to have to double check they are loading).

Also this code adds a plugin dependency on org.eclipse.core.runtime

The extension point allows IEMBridgeSubscriberProviders to be registered that will provide a list of IEMBridgeSubscribers to be added during startup of the IEMBridgeMessageQueue
@Stwissel
Copy link

How about logging the statement to a logger? Then you can decide at runtime what to show!

@camac
Copy link
Contributor Author

camac commented Mar 28, 2017

I am using Serdar's XLogBack in my own plugins which is really great for this (and I like how it re-loads the logging config on the fly) I'm not sure what the ODA project recommends? I have seen a few System.out's around so I thought I would follow suit but I am happy to change it to something more suitable.

@paulswithers
Copy link
Contributor

Logging is mea culpa without a doubt. We've got multiple loggers available in org.openntf.domino.logging - one to OpenLog, one to the console and one to a text file in IBM_TECHNICAL_SUPPORT. I was very new to logging in Java at the time!

@the-ntf
Copy link
Contributor

the-ntf commented Mar 29, 2017 via email

@camac
Copy link
Contributor Author

camac commented Mar 29, 2017

haha many times I stare at the production console "Who the hell committed these System.out's? .... oh ... my bad"

@jesse-gallagher jesse-gallagher merged commit d0197e2 into OpenNTF:master Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants