on 2024 Jul 19 9:15 AM
Dear BTP experts,
I'm currently using CF CLI command "cf logs" to get an application log. The log output command "cf logs" of the CF command, but I am not sure whether it can or cannot log for a specified time or period of time.
The option '--recent' is also not clear as to which period of time can be logged.
Therefore, can anyone tell me how long the logging period is when the command is executed?
The Log cache is recommended [1] by Cloud Foundry to be sized to keep logs for at least 15 minutes. You should not expect more than that. Typically, it is more than that.
You should use application logging service [2] or cloud logging service [3] to keep logs for 7 days or as long as you want respectively. You could also drain logs to a 3rd party log management service [4].
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.