vmware-archive / gpmt2

Greenplum Magic Tool 2 - open source rebuild of GPMT
Apache License 2.0
5 stars 3 forks source link

Setting the timestamp format for logger. #13

Closed faisaltheparttimecoder closed 6 years ago

faisaltheparttimecoder commented 6 years ago

The logger earlier didnt print the timestamp of the logging

DEBU[0000] Connecting to the database using the connection string: user=faisal password= host=localhost port=5432 dbname=template1 sslmode=disable  uri="user=faisal password= host=localhost port=5432 dbname=template1 sslmode=disable"

this change helps to print the timestamp.

DEBU[2018-08-20 10:54:52] Connecting to the database using the connection string: user=faisal password= host=localhost port=5432 dbname=template1 sslmode=disable  uri="user=faisal password= host=localhost port=5432 dbname=template1 sslmode=disable"