#### View logger information for the special classloader
Note that the hashcode changes, you need to check the current ClassLoader information first, and extract the hashcode corresponding to the ClassLoader.
if you use`-c`, you have to manually type hashcode by `-c <hashcode>`.
```bash
[arthas@2062]$ logger -c 2a139a55
name ROOT
@ -125,6 +129,14 @@ In the `appenders` section:
appenderRef [APPLICATION]
```
For classloader with only one instance, it can be specified by `--classLoaderClass` using class name, which is more convenient to use.
* PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it's jdk.internal.loader.ClassLoaders$AppClassLoader.
The value of `--classloaderclass` is the class name of classloader. It can only work when it matches a unique classloader instance. The purpose is to facilitate the input of general commands. However, `-c <hashcode>` is dynamic.
|`[f]`|print the fields info of the current class, MUST be used with `-d` together|
|`[x:]`|specify the depth of recursive traverse the static fields, the default value is '0' - equivalent to use `toString` to output|
|`[c:]`|The hash code of the special class's classLoader|
|`[classLoaderClass:]`| The class name of the ClassLoader that executes the expression. |
|`[n:]`|Maximum number of matching classes with details (100 by default)|
> *class-patten* supports full qualified class name, e.g. com.taobao.test.AAA and com/taobao/test/AAA. It also supports the format of 'com/taobao/test/AAA', so that it is convenient to directly copy class name from the exception stack trace without replacing '/' to '.'. <br/><br/>
<h3>View logger information for the special classloader<aclass="headerlink"href="#view-logger-information-for-the-special-classloader"title="Permalink to this headline">¶</a></h3>
<p>Note that the hashcode changes, you need to check the current ClassLoader information first, and extract the hashcode corresponding to the ClassLoader.</p>
<p>if you use<codeclass="docutils literal notranslate"><spanclass="pre">-c</span></code>, you have to manually type hashcode by <codeclass="docutils literal notranslate"><spanclass="pre">-c</span><spanclass="pre"><hashcode></span></code>.</p>
<p>For classloader with only one instance, it can be specified by <codeclass="docutils literal notranslate"><spanclass="pre">--classLoaderClass</span></code> using class name, which is more convenient to use.</p>
<li><p>PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it’s jdk.internal.loader.ClassLoaders$AppClassLoader.</p></li>
</ul>
<p>The value of <codeclass="docutils literal notranslate"><spanclass="pre">--classloaderclass</span></code> is the class name of classloader. It can only work when it matches a unique classloader instance. The purpose is to facilitate the input of general commands. However, <codeclass="docutils literal notranslate"><spanclass="pre">-c</span><spanclass="pre"><hashcode></span></code> is dynamic.</p>
</div>
<divclass="section"id="update-logger-level">
<h3>Update logger level<aclass="headerlink"href="#update-logger-level"title="Permalink to this headline">¶</a></h3>