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

Batch Size Meaning #52

Open
MakamuEvans opened this issue Mar 22, 2024 · 1 comment
Open

Batch Size Meaning #52

MakamuEvans opened this issue Mar 22, 2024 · 1 comment

Comments

@MakamuEvans
Copy link

Hi,

Not an issue per say but wanted to find out if the package is syncronous in logging or asyncronous, and does batch_size key mean logs need to reach a certain size before being shipped to AWS?

@rskuipers
Copy link

@MakamuEvans I'm sure you're way past this question by now but for future visitors:

This package uses phpnexus/cwh which does indeed batch its logs based on the configured batch size. Which means logging is indeed batched. batch_size does not mean logs need to reach a certain size, as it will flush the buffer on shutdown so if batch size hasn't been reached it still gets flushed to Cloudwatch.

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

No branches or pull requests

2 participants