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

Remove 24% of Bedrock logs #2063

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Remove 24% of Bedrock logs #2063

merged 3 commits into from
Jan 15, 2025

Conversation

flodnv
Copy link
Contributor

@flodnv flodnv commented Jan 14, 2025

Details

We're trying to reduce log volume which seems problematic during harvesting. All of these removed logs have existing counterparts.

Here are the log line counts for 37 seconds of such a period of time:

Counts for each file:
SQLite.cpp:396: 94887
BedrockCore.cpp:273: 94529
Jobs.cpp:773: 87157
SQLite.cpp:686: 66456
SQLite.cpp:902: 63029
SQLite.cpp:261: 62667
BedrockServer.cpp:1041: 62588
libstuff.cpp:2725: 62586
SQLite.cpp:775: 62586
SQLite.cpp:837: 62586
SQLiteCore.cpp:36: 62586
SQLite.cpp:874: 62586
SQLite.cpp:887: 62586
BedrockServer.cpp:930: 51824
Jobs.cpp:1101: 34759
BedrockCommand.cpp:282: 32399
SQLiteNode.cpp:478: 31954
SQLite.cpp:829: 31940
BedrockServer.cpp:1034: 31940
BedrockConflictManager.cpp:43: 31940
BedrockServer.cpp:1563: 31661
BedrockServer.cpp:1529: 31660
BedrockServer.cpp:1547: 31660
Jobs.cpp:513: 29974
Jobs.cpp:613: 29852
Jobs.cpp:295: 29758
Jobs.cpp:478: 29725
Jobs.cpp:261: 28302
Jobs.cpp:1177: 26095
BedrockServer.cpp:1094: 10755
BedrockCore.cpp:414: 10724
BedrockServer.cpp:681: 10723
BedrockServer.cpp:2263: 4774
BedrockServer.cpp:2401: 4692
SQLite.cpp:820: 2001
Jobs.cpp:832: 974
BedrockServer.cpp:2187: 739
SQLite.cpp:695: 461
Cache.cpp:193: 163
SQLite.cpp:899: 89
CaptureAgentActivity.cpp:77: 56
libstuff.cpp:2692: 53
libstuff.cpp:156: 36
BedrockCore.cpp:384: 36
Jobs.cpp:315: 30
Concierge.cpp:916: 25
Concierge.cpp:919: 25
Jobs.cpp:515: 21
CaptureAgentActivity.cpp:102: 20
CaptureAgentActivity.cpp:66: 19
CaptureAgentActivity.cpp:89: 19
CaptureAgentActivity.cpp:112: 17
AutoTimer.cpp:22: 9
SQLite.cpp:106: 6
SQLite.cpp:186: 6
SQLitePool.cpp:59: 6
SPerformanceTimer.cpp:52: 4
main.cpp:384: 4
libstuff.cpp:1975: 3
CaptureAgentActivity.cpp:72: 2
CaptureAgentActivity.cpp:55: 1
Jobs.cpp:1157: 1
SQLiteNode.cpp:2664: 1
SQLiteNode.cpp:1257: 1

PHP logs: 527758
Other logs: 3474

Fixed Issues

https://expensify.slack.com/archives/C05CBC62HGW/p1736772832409169?thread_ts=1736264200.243169&cid=C05CBC62HGW

Fixes https://github.com/Expensify/Expensify/issues/457478

Tests

none


Internal Testing Reminder: when changing bedrock, please compile auth against your new changes

iwiznia
iwiznia previously approved these changes Jan 14, 2025
@flodnv flodnv dismissed stale reviews from iwiznia and tylerkaraszewski via 1af671d January 14, 2025 21:30
iwiznia
iwiznia previously approved these changes Jan 14, 2025
coleaeason
coleaeason previously approved these changes Jan 14, 2025
@flodnv flodnv dismissed stale reviews from coleaeason, iwiznia, and tylerkaraszewski via 26b1e97 January 15, 2025 13:15
@flodnv
Copy link
Contributor Author

flodnv commented Jan 15, 2025

Updated to remove a useless piece of a common log

@danieldoglas danieldoglas merged commit 65b880e into main Jan 15, 2025
1 check passed
@danieldoglas danieldoglas deleted the flo_rmLogs branch January 15, 2025 13:28
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.

5 participants