Skip to content

Conversation

@FranjoMindek
Copy link
Contributor

No description provided.

maxTimeout: 120 * 1000,
onRetry: (e: Error) => {
onRetry: (error: Error) => {
logger.error(error);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this will log the message with the stack trace, etc...

Comment on lines +22 to +32
logger.debug(
"\nNumber of non-Wasp-team CLI events:",
nonWaspTeamEvents.length,
);

const sortedNonWaspTeamEvents = _.sortBy(nonWaspTeamEvents, "timestamp");

const sortedValidEvents = markAsCiEventBurstsFromDifferentUsersFromSameIp(
sortedNonWaspTeamEvents,
);
logger.debug("\nNumber of valid CLI events:", sortedValidEvents.length);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we care about these in our logging?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just wondered how much do these filters affect the data.
Not really necessary, it's debug logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also there might be betters ways to solve some of them I hope.
With time these become more costly (computation-wise).

Copy link
Member

@Martinsos Martinsos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All right! That is a lot of logging, it isn't obvious to me how some of these would be useful, but ok, if you think they are, let's go for it.

@FranjoMindek FranjoMindek merged commit 442c115 into master Sep 24, 2025
@FranjoMindek FranjoMindek deleted the franjo/add-logs branch September 24, 2025 10:55
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

Successfully merging this pull request may close these issues.

3 participants