I feel like this should be a java action in CommunityCommons. It could be something like this:
Given an input "LogNode", it should return an enum with the max current log level of all log subscribers (since there can be more than 1).
ILogNode logger = Core.getLogger(LogNode);
Collection<LogLevel> currentSubscriptionLevels = logger.getSubscribers().values();
LogLevel maxLevel = Collections.max(currentSubscriptionLevels);
return maxLevel.toString();
Perhaps you or someone else can work this into a Java action, and then we could add it to CommunityCommons.