Log entry format

This topic describes the format of Dgraph HDFS Agent log entries, including their message types and log levels.

The following is an example of a NOTIFICATION message:
[2015-07-27T13:32:26.529-04:00] [DgraphHDFSAgent] [NOTIFICATION] [] [com.endeca.dgraph.hdfs.agent.importer.RecordsConsumer]
[host: web05.example.com] [nwaddr: 10.152.105.219] [tid: RecordsConsumer] [userId: fcalvill] 
[ecid: 0000KvFouxK7ADkpSw4Eyc1LhZWv000006,0] fetchMoreRecords for collection: default_edp_2a0122f2-4d15-46bf-9669-21333442f10b
The format of the Dgraph HDFS Agent log fields (using the above example) and their descriptions are as follows:
Log entry field Description Example
Timestamp The date and time when the message was generated. This reflects the local time zone. [2015-07-27T13:32:26.529-04:00]
Component ID The ID of the component that originated the message. "DgraphHDFSAgent" is hard-coded for the Dgraph HDFS Agent. [DgraphHDFSAgent]
Message Type The type of message (log level):
  • INCIDENT_ERROR
  • ERROR
  • WARNING
  • NOTIFICATION
  • TRACE
  • UNKNOWN
[NOTIFICATION]
Message ID The message ID that uniquely identifies the message within the component. Currently is left blank. []
Module ID The Java class that prints the message entry. [com.endeca.dgraph.hdfs.agent.importer.RecordsConsumer]
Host name The name of the host where the message originated. [host: web05.example.com]
Host address The network address of the host where the message originated [nwaddr: 10.152.105.219]
Thread ID The ID of the thread that generated the message. [tid: RecordsConsumer]
User ID The name of the user whose execution context generated the message. [userId: fcalvill]
ECID The Execution Context ID (ECID), which is a global unique identifier of the execution of a particular request in which the originating component participates. [0000KvFouxK7ADkpSw4Eyc1LhZWv000006,0]
Message Text The text of the log message. fetchMoreRecords for collection: default_edp_2a0122f2-4d15-46bf-9669-21333442f10b