clever-tools
clever-tools copied to clipboard
feat(accesslogs): use API v4
Close #703
🔎 A preview has been automatically published:
- 🐧 linux
6339ceff1ebbd518c6e914658d8439e92ad3d2d1242ca41db8d82b60b762e46d - 🍏 macos
7c66b640bfca599c19ac9fd42076310c0144fdb073bf2855610204a5fa426f2a - 🪟 win
5b914328b6a8124d7f928181818c507d22a08011fb6351cbcca36ee570fe1d87
This preview will be deleted once this PR is closed.
When testing this PR, I got :
./clever accesslogs -v
[STACKTRACE]
TypeError: Invalid host defined options
at Object.accessLogs (/snapshot/clever-tools/src/commands/accesslogs.js:14:42)
at Object.action (/snapshot/clever-tools/bin/clever.js:55:35)
at Object.execute (/snapshot/clever-tools/node_modules/cliparse/src/cli.js:88:30)
at Object.parse (/snapshot/clever-tools/node_modules/cliparse/src/cli.js:166:9)
at run (/snapshot/clever-tools/bin/clever.js:1088:12)
at Object.<anonymous> (/snapshot/clever-tools/bin/clever.js:1097:3)
at Module._compile (pkg/prelude/bootstrap.js:1926:22)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
at node:internal/main/run_main_module:23:47
[/STACKTRACE]
[ERROR] Invalid host defined options
2024-02-12T14:02:36.101Z 139.99.149.220 GET /healthz requestId=01HPET0XCZ4Q2NN4X1PPMM0VJZ bytesIn=102 bytesOut=217 location=AU/Sydney
2024-02-12T14:02:33.589Z 80.247.15.191 GET /healthz requestId=01HPET0VHVRCPYN9TV8RJ6K42Z bytesIn=102 bytesOut=217 location=FR/
2024-02-12T14:02:34.695Z 15.235.14.214 GET /healthz requestId=01HPET0WEVCXRXBCGT1E5BQG11 bytesIn=102 bytesOut=217 location=US/
2024-02-12T14:02:34.816Z 37.187.56.232 GET /healthz requestId=01HPET0WVPNNMBDXDJ6MFX08EM bytesIn=102 bytesOut=217 location=FR/
2024-02-12T14:02:34.876Z 51.79.177.68 GET /healthz requestId=01HPET0WY3HV8ERQNNWW2ABTSX bytesIn=102 bytesOut=217 location=SG/Singapore
2024-02-12T14:02:35.618Z 51.75.52.231 GET /healthz requestId=01HPET0XJ82WFRZ9QXWFKA0X9G bytesIn=90 bytesOut=217 location=GB/Washington
2024-02-12T14:02:36.145Z 139.99.149.220 GET /healthz requestId=01HPET0XDGJEMCE4S0YWM78AV6 bytesIn=102 bytesOut=217 location=AU/Sydney
2024-02-12T14:02:34.390Z 15.235.14.214 GET /healthz requestId=01HPET0WDV2G98V0EBCFX9K93Y bytesIn=102 bytesOut=217 location=US/
2024-02-12T14:02:35.522Z 51.75.52.231 GET /healthz requestId=01HPET0XH9E3KECG2Q13J20F6M bytesIn=90 bytesOut=217 location=GB/Washington
2024-02-12T14:02:35.596Z 51.79.177.68 GET /healthz requestId=01HPET0WXKFWHC1XAFKM6R110J bytesIn=102 bytesOut=217 location=SG/Singapore
2024-02-12T14:02:34.925Z 37.187.56.232 GET /healthz requestId=01HPET0WVB15V9GKQ80P91D6Y3 bytesIn=102 bytesOut=217 location=FR/
Related to https://github.com/CleverCloud/clever-client.js/pull/88
🔎 The preview has been automatically deleted.