[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2023-12-01 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1779#comment-1779 ] Matt Sicker commented on LOG4J2-2795: - This likely depends on

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-04-02 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17516345#comment-17516345 ] Romain Manni-Bucau commented on LOG4J2-2795: [~mattsicker] tested master right now and got

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-31 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515450#comment-17515450 ] Matt Sicker commented on LOG4J2-2795: - I should note that I've also made several static init blocks

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-31 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515448#comment-17515448 ] Matt Sicker commented on LOG4J2-2795: - Collecting plugins only loads the metadata for each plugin,

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-31 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515116#comment-17515116 ] Romain Manni-Bucau commented on LOG4J2-2795: [~mattsicker] AFAIK it is not the case on

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-30 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17515011#comment-17515011 ] Matt Sicker commented on LOG4J2-2795: - {quote}Wonder if you evaluated to not collect plugins but

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-30 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17514949#comment-17514949 ] Romain Manni-Bucau commented on LOG4J2-2795: To give another metrics for my computer: a real

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-30 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17514812#comment-17514812 ] Gary D. Gregory commented on LOG4J2-2795: - Another use case that would benefit from faster

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-30 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17514807#comment-17514807 ] Matt Sicker commented on LOG4J2-2795: - Well, compare the startup time of instantiating

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-30 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17514460#comment-17514460 ] Romain Manni-Bucau commented on LOG4J2-2795: [~mattsicker] right but still, the first "info"

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-29 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17514441#comment-17514441 ] Matt Sicker commented on LOG4J2-2795: - I see a bit of time in the beginning is spent loading all the

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-28 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17513182#comment-17513182 ] Romain Manni-Bucau commented on LOG4J2-2795: Hi [~mattsicker] , I'm around 362 with the

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-27 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17513102#comment-17513102 ] Matt Sicker commented on LOG4J2-2795: - StrLookup plugins are now lazily loaded, so worth checking

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-27 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17513069#comment-17513069 ] Matt Sicker commented on LOG4J2-2795: - Sweet, thanks. I'm still finishing up plugin inversion here

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-26 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17512695#comment-17512695 ] Romain Manni-Bucau commented on LOG4J2-2795: Here it is

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-25 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17512587#comment-17512587 ] Matt Sicker commented on LOG4J2-2795: - Try invoking your benchmark program with

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-25 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17512568#comment-17512568 ] Romain Manni-Bucau commented on LOG4J2-2795: Yes it is there on ubuntu. > Make

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-25 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17512547#comment-17512547 ] Matt Sicker commented on LOG4J2-2795: - On the OS you're testing this on, do you have your hostname

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-22 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510930#comment-17510930 ] Matt Sicker commented on LOG4J2-2795: - I did a class init trace log on 2.17.2 and found some

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-22 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510806#comment-17510806 ] Romain Manni-Bucau commented on LOG4J2-2795: I did a nanotime around the getLogger().info(),

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-22 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510722#comment-17510722 ] Matt Sicker commented on LOG4J2-2795: - So just running it with the time command? Or are you

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-22 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510263#comment-17510263 ] Romain Manni-Bucau commented on LOG4J2-2795: I'm just testing a plain main doing a

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-21 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510169#comment-17510169 ] Matt Sicker commented on LOG4J2-2795: - I'd imagine a lot of the static init stuff was for aggressive

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-21 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510073#comment-17510073 ] Romain Manni-Bucau commented on LOG4J2-2795: [~mattsicker] I didn't reprofile it since the

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-21 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17509986#comment-17509986 ] Matt Sicker commented on LOG4J2-2795: - Ah, I was also having that issue in Java 17. It seems like

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-21 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17509699#comment-17509699 ] Romain Manni-Bucau commented on LOG4J2-2795: Hi   Just tested master. For Java 17 it does

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2022-03-20 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17509532#comment-17509532 ] Matt Sicker commented on LOG4J2-2795: - Could be interesting to check this out again. I've made some

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2021-01-06 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17259766#comment-17259766 ] Romain Manni-Bucau commented on LOG4J2-2795: Up :) Any hope it gets better in the coming

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-04-13 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17082215#comment-17082215 ] Romain Manni-Bucau commented on LOG4J2-2795: Hi [~rgoers], guess 1 at least should be solved

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-04-12 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17082035#comment-17082035 ] Ralph Goers commented on LOG4J2-2795: - I am not aware of any work left to do on this issue. Please

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-06 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17053534#comment-17053534 ] Ralph Goers commented on LOG4J2-2795: - Here are my comments regarding the items on your list: # The

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-06 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17053143#comment-17053143 ] Romain Manni-Bucau commented on LOG4J2-2795: Hi [~rgoers], I have a few questions about some

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-05 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052617#comment-17052617 ] ASF subversion and git services commented on LOG4J2-2795: - Commit

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-05 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052407#comment-17052407 ] Ralph Goers commented on LOG4J2-2795: - I modified loading the plugins so that the classes are not

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051845#comment-17051845 ] Romain Manni-Bucau commented on LOG4J2-2795: Even if it is true most JVM will have JIT, it

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051842#comment-17051842 ] Ralph Goers commented on LOG4J2-2795: - I should add that in all the profile snapshots I have looked

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051838#comment-17051838 ] Ralph Goers commented on LOG4J2-2795: - One other thing I should note. Due to the way the JVM works I

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051836#comment-17051836 ] Ralph Goers commented on LOG4J2-2795: - Without plugins you can only have the DefaultConfiguration.

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051832#comment-17051832 ] Romain Manni-Bucau commented on LOG4J2-2795: Well the ipv4 workaround can be a doc

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051824#comment-17051824 ] Ralph Goers commented on LOG4J2-2795: - Which part can be done lazily? Getting the hostname? Drop

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051821#comment-17051821 ] Romain Manni-Bucau commented on LOG4J2-2795: Hmm, this part can depend the machine, wonder

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-04 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051807#comment-17051807 ] Ralph Goers commented on LOG4J2-2795: - I did some profiling with YourKit. I created a class that

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-02 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17049963#comment-17049963 ] Romain Manni-Bucau commented on LOG4J2-2795: Right, but in the context of the test it is

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-02 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17049958#comment-17049958 ] Ralph Goers commented on LOG4J2-2795: - I guess I wasn't clear.  When you call getLogger the FQCN of

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-02 Thread Romain Manni-Bucau (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17049949#comment-17049949 ] Romain Manni-Bucau commented on LOG4J2-2795: Hi Ralph,   Yes Plugin API helps, for the

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-02 Thread Ralph Goers (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17049594#comment-17049594 ] Ralph Goers commented on LOG4J2-2795: - It is possible that the improvements with LOG4J2-2621

[jira] [Commented] (LOG4J2-2795) Make LogManager/LoggerContext creation time reasonable

2020-03-02 Thread Matt Sicker (Jira)
[ https://issues.apache.org/jira/browse/LOG4J2-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17049460#comment-17049460 ] Matt Sicker commented on LOG4J2-2795: - This is tangentially related to LOG4J2-2694 and the new