You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, the request was registered at 2025-01-06 20:59:53.232107, while the logger daemon finished startup at 2025-01-06 20:59:53.213. This indicates that the daemon was already running when the request was registered. To address this, you can add a time.sleep() call for at least 1 second before the test client sends the request, which should prevent this bug from occurring.
The text was updated successfully, but these errors were encountered:
symstu-tempesta
changed the title
tfw_logger: missing logs on first seconds of application startup
tfw_logger: missing logs during the first second of application startup
Jan 6, 2025
Describe the issue
No logs are present in the ClickHouse database during the first second of application startup, although logs do appear in dmesg.
Expected Behavior
Logs are present in both dmesg and the ClickHouse access_log table.
To Reproduce
Start Tempesta FW, wait for it to begin responding, and then send a request as soon as possible. I reproduced this with a simple test.
Configuration file
Version or commit hash
80598c9
Stacktrace or debug log
Here is the dmesg output for the accepted request
and here is the access.log for the tfw_logger
As you can see, the request was registered at 2025-01-06 20:59:53.232107, while the logger daemon finished startup at 2025-01-06 20:59:53.213. This indicates that the daemon was already running when the request was registered. To address this, you can add a time.sleep() call for at least 1 second before the test client sends the request, which should prevent this bug from occurring.
The text was updated successfully, but these errors were encountered: