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

Full date and time in Jfrog CLI logs #2809

Open
marasCw opened this issue Dec 31, 2024 · 1 comment
Open

Full date and time in Jfrog CLI logs #2809

marasCw opened this issue Dec 31, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@marasCw
Copy link

marasCw commented Dec 31, 2024

We use Jfrog CLI to delete artifacts. Curently when you run cli commands than only time is presented in logs. Due to audit requirements we want that full date and time to be presented in logs.
Example:
Current log
09:55:46 [🔵Info] Searching artifacts... 09:55:46 [🔵Info] Found 108 artifacts.

Required log:
2024-12-31 09:55:46 [🔵Info] Searching artifacts... 2024-12-31 09:55:46 [🔵Info] Found 108 artifacts.

@marasCw marasCw added the feature request New feature or request label Dec 31, 2024
@yahavi
Copy link
Member

yahavi commented Dec 31, 2024

@marasCw
Thank you for using the JFrog CLI!

To include the date in the JFrog CLI logs, just set the JFROG_CLI_LOG_TIMESTAMP environment variable to DATE_AND_TIME.
You can find more details about JFrog CLI environment variables here - https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/usage

Let me know if this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants