Use default value for .publish - #26139
Conversation
There was a problem hiding this comment.
My question is what exactly the publish argument does?
Relates to eclipse-ee4j/glassfish-logging-annotation-processor#107
But - by using default for OR GF could use |
|
Aha, I believe around 2003 there was a trend to create multilanguage applications including logging (JUL was added in Java 1.4.2 if I remember well), so at some point they tried to integrate everything to the Ant build, later to Maven, but never finished. At some point there was a ML distribution of GlassFish, surprisingly some versions differed in behavior between ML and SL, so I remember far far in the past we were switching between them with SJAS9. However now we slowly remove these things, logs are in plain english, UI too, so this doesn't make much sense. Perhaps with AI, however AI can read logs without a need of IDs and translations, so ... no. |
|
Error Message Reference lists some IDs but they seem to come from checked-in I'm yet to learn the level of consistency there. 😄 |
The only other explicit
publishI've found is (setting to the non-default):glassfish/appserver/connectors/work-management/src/main/java/com/sun/enterprise/connectors/work/OneWork.java
Lines 33 to 37 in a51f9c4
OTOH - this
publishflag does not seem to be used by GF at all.Maybe it could be used or - dropped from
@LogMessageInfo? 🤔