MMTE Client Logs¶
LOGBack configuration for MMTE Client is specified by the Dlogback.configurationFile
MMC vmarg system variable.
Its default value is MetaMiner.logback.xml
By default, the most of MMTE Client logs are stored in <METAMINER CLIENT DATA DIRECTORY>\logs
, but you can define alternative locations by changing MetaMiner.logback.xml
.
Under Windows OS, <METAMINER CLIENT DATA DIRECTORY>
usually resolves to something like C:\Users\<MyUserName>\AppData\Roaming\MetaMiner
.
MMC Main Log¶
This is the main MMTE Client log. You can diagnose all critical activities on MMC by reading it.
Appender | FILE |
Config | MetaMiner.logback.xml |
Default Output | file |
Default Filename | client.log |
Default Level | DEBUG for MetaMiner modules, WARN for others |
Default Rotation/Retention | max 5MB, max 5 volumes |
Default Encoder (format) | %date{dd.MM;HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg%n |
Example:
02.10;15:15:15.557 [AWT-EventQueue-0] DEBUG com.infolytik.ui.metaminer.Zdz - HTTP Response size: 7
02.10;15:15:15.557 [nioEventLoopGroup-3-16] DEBUG com.infolytik.ui.metaminer.Zct - channelInactive: method /RemoteServer.getTabSnapshotTimestamp(long) channel 5c145d5a closed.
02.10;15:15:15.561 [AWT-EventQueue-0] DEBUG com.infolytik.ui.metaminer.Zdz - Sending request to mms.mycompany.com:49714: DefaultHttpRequest(decodeResult: success, version: HTTP/1.1)
POST /RemoteServer.getTabSnapshotTimestamp(long) HTTP/1.1
transfer-encoding: chunked
Session-Id: 2
Session-Uuid: e84f944e-cd6b-4068-838f-7c5dbb4150e7
Invocation-Id: 1696
Run-In_Background: false
02.10;15:15:15.561 [AWT-EventQueue-0] DEBUG com.infolytik.ui.metaminer.Zct - A: Total channels: 1
02.10;15:15:15.565 [AWT-EventQueue-0] DEBUG com.infolytik.ui.metaminer.Zdz - Response for RemoteServer.getTabSnapshotTimestamp(long): DefaultHttpResponse(decodeResult: success, version: HTTP/1.1)
MMC Loader Log¶
This is the log of the Windows OS executable which runs MMC. The loader sends logging information to stdout and stderr streams. This information is then written to a log file.
Appender | STDOUT, STDERR |
Config | MetaMiner.ini and MetaMiner.logback.xml |
Ini config variable | log |
Default Output | console, redirected to a file |
Default Filename | client.start.log |
Default Level | DEBUG |
Default Encoder (format) | %-4relative [%thread] %-5level %logger{35} - %msg %n |
Example:
[info] Module Name: C:\Program Files\Infolytik\MetaMiner\client\MetaMiner.exe
[info] Module INI: C:\Program Files\Infolytik\MetaMiner\client\MetaMiner.ini
[info] Module Dir: C:\Program Files\Infolytik\MetaMiner\client\
[info] INI Dir: C:\Program Files\Infolytik\MetaMiner\client\
[info] Working directory set to: C:\Program Files\Infolytik\MetaMiner\client
[info] Displaying splash: res\splash_metaminer.jpg
[info] Configured vm.location: ..\jre\bin\server\jvm.dll
[info] Found VM: C:\Program Files\Infolytik\MetaMiner\jre\bin\server\jvm.dll
[info] Expanding Classpath: lib\*.jar
Note
Encoder (format) settings cannot be applied to log event messages from the loader itself. They are always in the [%level] %msg
format. See several first lines in the example above.
Garbage Collector Log¶
The log for Java Garbage Collector (GC) of MMC JVM. Optional.
Config | MetaMiner.ini |
Variable | Xloggc |
Default Filename | gc-<timestamp>.log.N.current |
Default Rotation/Retention | none |
Format | {Heap before GC invocations ... DATETIME ... Heap after GC invocations ... } |
Example:
Java HotSpot(TM) 64-Bit Server VM (25.91-b15) for windows-amd64 JRE (1.8.0_91-b15), built on May 20 2016 17:43:15 by "java_re" with MS VC++ 10.0 (VS2010)
Memory: 4k page, physical 33553908k(7378668k free), swap 38534644k(8841432k free)
CommandLine flags: -XX:GCLogFileSize=10485760 -XX:+HeapDumpOnOutOfMemoryError -XX:InitialHeapSize=1073741824 -XX:MaxHeapSize=1073741824 -XX:NumberOfGCLogFiles=40 -XX:-OmitStackTraceInFastThrow -XX:-PrintAdaptiveSizePolicy -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails
{Heap before GC invocations=1 (full 0):
PSYoungGen total 305664K, used 89130K [0x00000000eab00000, 0x0000000100000000, 0x0000000100000000)
eden space 262144K, 34% used [0x00000000eab00000,0x00000000f020a890,0x00000000fab00000)
from space 43520K, 0% used [0x00000000fd580000,0x00000000fd580000,0x0000000100000000)
to space 43520K, 0% used [0x00000000fab00000,0x00000000fab00000,0x00000000fd580000)
ParOldGen total 699392K, used 0K [0x00000000c0000000, 0x00000000eab00000, 0x00000000eab00000)
object space 699392K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000eab00000)
Metaspace used 20774K, capacity 21022K, committed 21296K, reserved 1067008K
class space used 3095K, capacity 3172K, committed 3200K, reserved 1048576K
2021-07-02T01:47:16.979-0700: 22.065: [GC (Metadata GC Threshold) [PSYoungGen: 89130K->8663K(305664K)] 89130K->8751K(1005056K), 0.0241609 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
Heap after GC invocations=1 (full 0):
PSYoungGen total 305664K, used 8663K [0x00000000eab00000, 0x0000000100000000, 0x0000000100000000)
eden space 262144K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000fab00000)
from space 43520K, 19% used [0x00000000fab00000,0x00000000fb375df8,0x00000000fd580000)
to space 43520K, 0% used [0x00000000fd580000,0x00000000fd580000,0x0000000100000000)
ParOldGen total 699392K, used 88K [0x00000000c0000000, 0x00000000eab00000, 0x00000000eab00000)
object space 699392K, 0% used [0x00000000c0000000,0x00000000c0016010,0x00000000eab00000)
Metaspace used 20774K, capacity 21022K, committed 21296K, reserved 1067008K
class space used 3095K, capacity 3172K, committed 3200K, reserved 1048576K
}
See Also