Hello

I'll run into the same issue I saw with the actual 1.10.4. When a second
> logger is registered in that global map with a name that already exists,
> the first logger will be lost
>

This was a case with previous (than 1.11.x) versions too and there was
respective PAXLOGGING issue for this:
https://ops4j1.jira.com/browse/PAXLOGGING-243
I also created integration test to show how it SHOULD (in my opinion) work:
https://github.com/ops4j/org.ops4j.pax.logging/blob/logging-1.11.3/pax-logging-it/src/test/java/org/ops4j/pax/logging/it/Log4J2BuiltinAppendersIntegrationTest.java#L215-L216

But it'd be interested if you created PAXLOGGING issue with steps to
reproduce your problem on Glassfish/Payara.

regards
Grzegorz Grzybek

czw., 5 gru 2019 o 03:39 Monica Ron <[email protected]> napisaƂ(a):

> Thanks.
>
> I will write a bug in PAXLOGGING soon.
>
> Version 1.11.3 doesn't run on Payara 5.192 (different OSGi version,
> maybe?). Version 1.10.4 runs, but has the same issue I reported. I
> downloaded 1.10.4 and swapped the order of the generic parameters to match
> the original code (i.e., I made key=Logger, value=String). When I did that,
> my logging worked properly when I restarted the domain. Even with all
> loggers being stored in a single map in the Activator in 1.11.3, I'll run
> into the same issue I saw with the actual 1.10.4. When a second logger is
> registered in that global map with a name that already exists, the first
> logger will be lost, and won't get the TrackingLogger when the Activator
> starts up.
>
> I am still trying to run the tests for 1.11.3. I need to configure a few
> things in my system for that. When I write a bug, I will attach a modified
> unit test that exhibits the behavior that I am seeing.
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ops4j/9108d4a5-43cf-45da-ac17-feefe3b56ccc%40googlegroups.com
> <https://groups.google.com/d/msgid/ops4j/9108d4a5-43cf-45da-ac17-feefe3b56ccc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/CAAdXmhqDq%2BTBu-VBOpxB82GO%3DfxUbwDZu7O_G%3Dey7H4m-oCWXw%40mail.gmail.com.

Reply via email to