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

Maintaining logs by days #1843

Closed
Nathan770 opened this issue Nov 27, 2023 · 1 comment
Closed

Maintaining logs by days #1843

Nathan770 opened this issue Nov 27, 2023 · 1 comment

Comments

@Nathan770
Copy link

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Version of Helm and Kubernetes:
Helm: v3.11.0
Kubernetes: v1.26.3
Which chart:
Jfrog-platform: 10.16.2

Which product license (Enterprise/Pro/oss): Enterprise+

JFrog support reference (if already raised with support team):

What happened:
The logs were deleted after 10 files, and we have many users using the platform, so we want to keep 30 days of logs.

What you expected to happen:
Maintaining at least 30 days of logs by default.

How to reproduce it (as minimally and precisely as possible):
Create a lot of traffic on the JFrog platform.

Anything else we need to know:

@shahiinn
Copy link
Collaborator

shahiinn commented Dec 4, 2023

The log rotation configuration of jfrog applications are configurable through system.yaml(The default value is set to rotate on 10 files).
For example, if you need to configure the rotation to 50 files, you can set it by

shared:
  logging:
    rotation:
      maxFiles: 50

Further, this configuration can be set per micro-services as well.
For example, if you need to apply it only for the application log of frontend microservice :

frontend:
  logging:
    application:
      rotation:
        maxFiles: 50

Hence you can define a custom system.yaml with your requirements and use it in the chart.

@chukka chukka closed this as completed Dec 6, 2023
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

No branches or pull requests

3 participants