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

Log duration of http requests #10142

Merged
merged 3 commits into from
Oct 7, 2022
Merged

Log duration of http requests #10142

merged 3 commits into from
Oct 7, 2022

Conversation

TheOneRing
Copy link
Contributor

09-27 13:49:44:033 [ info sync.httplogger ]:	"2c6286e0-8145-4167-82de-07546a5a6c6c: Response: GET 200 (duration(0h, 0min, 0s, 151ms)) https://ocis.owncloud.test/status.php Header: { Access-Control-Allow-Origin: *, Content-Length: 286, Content-Security-Policy: default-src 'none';, Content-Type: application/json, Date: Tue, 27 Sep 2022 11:49:44 GMT, X-Content-Type-Options: nosniff, X-Download-Options: noopen, X-Frame-Options: SAMEORIGIN, X-Permitted-Cross-Domain-Policies: none, X-Robots-Tag: none, X-Xss-Protection: 1; mode=block, } Data: [{\n    \"installed\": true,\n    \"maintenance\": false,\n    \"needsDbUpgrade\": false,\n    \"version\": \"10.11.0.0\",\n    \"versionstring\": \"10.11.0\",\n    \"edition\": \"Community\",\n    \"productname\": \"Infinite Scale\",\n    \"product\": \"Infinite Scale\",\n    \"productversion\": \"2.0.0-beta.8+a60b98c73\"\n}]"

@TheOneRing TheOneRing requested review from michaelstingl and a team September 27, 2022 11:54
Copy link
Contributor

@michaelstingl michaelstingl left a comment

Choose a reason for hiding this comment

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

Nice, we can try if this helps us to understand some things… 🤞

src/libsync/httplogger.cpp Outdated Show resolved Hide resolved
src/libsync/httplogger.cpp Outdated Show resolved Hide resolved
@TheOneRing TheOneRing requested a review from fmoc October 5, 2022 14:55
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@TheOneRing TheOneRing merged commit 633dbd0 into master Oct 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the work/log_duration branch October 7, 2022 06: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.

4 participants