mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 19:47:49 +01:00
Debug logging of DataExtension registration
This commit is contained in:
parent
09787f4ff1
commit
f62140d6ca
@ -92,7 +92,7 @@ public class ExtensionServiceImplementation implements ExtensionService {
|
||||
gatherer.storeExtensionInformation();
|
||||
extensionGatherers.put(pluginName, gatherer);
|
||||
|
||||
logger.debug(DebugChannels.DATA_EXTENSIONS, pluginName + " extension registered.");
|
||||
logger.getDebugLogger().logOn(DebugChannels.DATA_EXTENSIONS, pluginName + " extension disabled in the config.");
|
||||
}
|
||||
|
||||
private boolean shouldNotAllowRegistration(String pluginName) {
|
||||
@ -108,7 +108,7 @@ public class ExtensionServiceImplementation implements ExtensionService {
|
||||
}
|
||||
|
||||
if (!pluginsConfig.isEnabled(pluginName)) {
|
||||
logger.debug(DebugChannels.DATA_EXTENSIONS, pluginName + " extension disabled in the config.");
|
||||
logger.getDebugLogger().logOn(DebugChannels.DATA_EXTENSIONS, pluginName + " extension disabled in the config.");
|
||||
return true;
|
||||
}
|
||||
return false; // Should register.
|
||||
|
Loading…
Reference in New Issue
Block a user