chaintope / tapyrus-signer

Tapyrus Signer reference implementation.
GNU General Public License v3.0
7 stars 8 forks source link

Write timestamp to the first log data. #166

Open rantan opened 1 year ago

rantan commented 1 year ago

If it starts as a daemon, it always write a same log Success, daemonized.

In awslogs agent, that is for transporting log data to AWS cloudwatch logs from local log file, the agent recognize log files by the hash of the first row in the log file. The signerd write always a same log, so the agent cannot recognize log files if the log files are rotated. It means that the transporting log s to the AWS environment will be stop after rotated the log files. (It can be avoid this behavior using file_fingerprint_lines config