Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8168722

Unified Logging configuration output needs simplifying

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 9
    • hotspot
    • None
    • b04

      The Unified Logging configuration output, used e.g. in the stack trace, is verbose and practically unreadable since it includes all tag combinations (which are warning-level by default) in a one-line, unalphabetized list. It is therefore difficult to find which new levels have been turned on. A more user-friendly version should be produced by re-formatting the output and/or reassigning the logging levels that produce the configurations.

      Sample:

          Logging:
          Log output configuration:
          #0: stdout gc+workgang=warning,os+cpu=warning,vmoperation=warning,verification=warning,ref=warning,modules+startuptime=warning,monitorinflation=warning,safepoint+cleanup=warning,ergo=warning,os+thread=warning,os=warning,pagesize=warning,safepoint=warning,redefine+class+oopmap=warning,redefine+class+nmethod=warning,redefine+class+methodcomparator=warning,startuptime=warning,gc+metaspace+alloc=warning,gc+metaspace=warning,gc+metaspace+freelist=warning,gc+ref+start=warning,logging+test=warning,class+loader+constraints=warning,redefine+class+update+itables=warning,itables=warning,vtables=warning,redefine+class+dump=warning,redefine+class=warning,redefine+class+subclass=warning,redefine+class+obsolete+mark=warning,redefine+class+stackmap=warning,redefine+class+annotation=warning,redefine+class+load+exceptions=warning,redefine+class+normalize=warning,redefine+class+constantpool=warning,redefine+class+obsolete+metadata=warning,redefine+class+load=warning,redefine+class+timer=warning,redefine+class+breakpoint=warning,jvmti+objecttagging=warning,jvmti=warning,stacktrace=warning,gc+heap+exit=warning,redefine+class+obsolete=warning,redefine+class+iklass+add=warning,redefine+class+iklass+purge=warning,redefine+class+update+vtables=warning,modules=warning,class+init=warning,gc+remset+scrub=warning,monitormismatch=warning,gc+cpu=warning,gc+task+time=warning,gc+task+thread=warning,gc+jni=warning,gc+stringdedup=warning,gc+remset+exit=warning,gc+marking+start=warning,gc+remset=warning,gc+verify+start=warning,gc+mmu=warning,gc+ihop=warning,gc+phases+task=warning,gc+ergo+ihop=warning,gc+stats=warning,gc+ergo+cset=warning,gc+humongous=warning,gc+stringtable=warning,gc+task+stats=warning,gc+heap+region=warning,gc+alloc+region=warning,protectiondomain=warning,defaultmethods=debug,gc+ergo+heap=warning,redefine+class+update+constantpool=warning,redefine+class+update=warning,gc+marking=warning,gc+survivor=warning,gc+phases+verify=warning,gc+phases+verify+start=warning,gc+phases=warning,gc+phases+start=warning,gc+state=warning,gc+promotion=warning,gc+refine=warning,gc+ergo+refine=warning,gc+plab=warning,gc+alloc=warning,gc+liveness=warning,gc+classhisto+start=warning,gc+classhisto=warning,gc+start=warning,gc+ref=warning,class+unload=warning,class+loader+data=warning,class+path=warning,class+preorder=warning,class+resolve=warning,class+load=warning,gc+verify=warning,gc+barrier=warning,exceptions=warning,gc+bot=warning,gc+compaction=warning,gc+freelist+stats=warning,gc+freelist+census=warning,biasedlocking=warning,attach=warning,gc+scavenge=warning,logging=warning,gc+heap+coops=warning,gc+heap=warning,arguments=warning,gc+region=warning,gc+age=warning,heap+ergo=warning,gc+sweep=warning,gc+tlab=warning,gc+task=warning,gc+freelist=warning,gc=warning,gc+ergo=warning uptime,level,tags
          #1: stderr all=off uptime,level,tags

            mlarsson Marcus Larsson (Inactive)
            rprotacio Rachel Protacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: