了解 java 日志文件

Understanding a java log-file

作为初学者技术支持,我收到了我们客户用 Java 编写的日志文件。客户端无法预览文档。我需要一些帮助来理解日志文件中的系统消息,以便用简单的语言向客户解释问题。

这里是日志文件:


    2018-10-09 14:05:56,890 INFO [Rendition#0] com.macador.common.management.mbean.MBeanObjectHelper:163 - Registered : 'com.macador.viewer.rendition.local.LocalDocumentService:type=generateImage'
    2018-10-09 14:05:56,890 INFO [Rendition#0] com.macador.common.management.mbean.MBeanObjectHelper:163 - Registered : 'com.macador.viewer.rendition.pdf.jni.JNIPdfRenderer:type=generateImage_width_1800'
    2018-10-09 14:05:56,985 WARN [Grizzly(4)] com.macador.viewer.rendition.document.AsynchronousParsingDocument:299 - No bookmarks provided, returning empty List
    2018-10-09 14:05:57,107 INFO [Rendition#2] com.macador.common.management.mbean.MBeanObjectHelper:163 - Registered : 'com.macador.viewer.rendition.pdf.jni.JNIPdfRenderer:type=generateImage_width_100'
    2018-10-09 14:05:57,306 INFO [Grizzly(2)] com.macador.common.management.mbean.MBeanObjectHelper:163 - Registered : 'com.macador.viewer.rendition.pdf.jni.JNIPdfDocument:type=getPageContents'
    2018-10-09 14:05:57,306 WARN [Grizzly(2)] com.macador.viewer.rendition.pdf.jni.JNIPdfDocument:252 - [PERF] Long time spent getting page for document=b64_I2RlZmF1bHQ=, pageNumber=0 : 651
    2018-10-09 14:05:57,310 WARN [Grizzly(1)] com.macador.viewer.rendition.pdf.jni.JNIPdfDocument:252 - [PERF] Long time spent getting page for document=b64_I2RlZmF1bHQ=, pageNumber=1 : 632
    2018-10-09 14:06:04,620 INFO [Thread-5] com.macador.viewer.rendition.local.LocalDocumentService:253 - Calling Shutdown Hook for LocalDocumentService : cleanup documentMap ...
    2018-10-09 14:06:04,621 INFO [Thread-5] com.macador.viewer.rendition.local.LocalDocumentService:256 - Calling Shutdown Hook for LocalDocumentService : calling System.gc() ...
    2018-10-09 14:06:04,866 INFO [Thread-5] com.macador.viewer.rendition.local.LocalDocumentService:258 - Calling Shutdown Hook for LocalDocumentService : done.

相关消息是标记为日志级别:WARN 的消息。

2018-10-09 14:05:56,985 WARN [Grizzly(4)] com.macador.viewer.rendition.document.AsynchronousParsingDocument:299 -

未提供书签,返回空列表

2018-10-09 14:05:57,306 WARN [Grizzly(2)] com.macador.viewer.rendition.pdf.jni.JNIPdfDocument:252 - [PERF]

为文档获取页面花费了很长时间=b64_I2RlZmF1bHQ=,pageNumber=0 : 651

2018-10-09 14:05:57,310 WARN [Grizzly(1)] com.macador.viewer.rendition.pdf.jni.JNIPdfDocument:252 - [PERF]

为文档获取页面花费了很长时间=b64_I2RlZmF1bHQ=,pageNumber=1 : 632

我已将消息以粗体突出显示。这些是通俗易懂的英语,您应该很容易理解。