Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write timestamp to the first log data. #166

Open
rantan opened this issue May 23, 2023 · 0 comments
Open

Write timestamp to the first log data. #166

rantan opened this issue May 23, 2023 · 0 comments

Comments

@rantan
Copy link
Contributor

rantan commented May 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant