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

naisdevice - Rotere logs naisdevice agent #227

Closed
ybelMekk opened this issue Sep 20, 2022 · 3 comments
Closed

naisdevice - Rotere logs naisdevice agent #227

ybelMekk opened this issue Sep 20, 2022 · 3 comments
Assignees
Labels

Comments

@ybelMekk
Copy link
Contributor

Disse blir humungous
, og det bør settes rotate/purge på 30-90dager.

@thokra-nav
Copy link
Contributor

Kan ett alternativ være å lage en ny logfil når naisdevice starter som inneholder dato for når den startet? Og så rydder vi alle eldre enn 3 eller noe?

@frodesundby frodesundby changed the title Rotere logs naisdevice agent naisdevice - Rotere logs naisdevice agent Nov 15, 2022
@github-actions
Copy link

Nothing has happened here for a while (60 days), marking as stale. Add preserve label to avoid deletion

@github-actions github-actions bot added the stale No activity on this issue label Jan 14, 2023
@ybelMekk ybelMekk assigned ybelMekk and unassigned ybelMekk Jan 16, 2023
@thokra-nav thokra-nav added preserve and removed stale No activity on this issue labels Jan 16, 2023
@ybelMekk ybelMekk self-assigned this Jan 27, 2023
@ybelMekk
Copy link
Contributor Author

ybelMekk commented Jan 31, 2023

Implementert slik at device lager en ny fil med prefix: YYYY.MM.DD-agent-log.

alternativt isteden for å rotere len(fileList) > 3 , skulle vare som suggestion på toppen, at du gir filen en timestamp som implementert, men at bruker kan velge å konfigurere dette, i gui og settings til device

Settings:

  • Rotate agent logs:
    • 30 days
    • 90 day
    • never

med en sain default kanskje?

eller mulig bare on eller off? default er on og 60 days?

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

No branches or pull requests

2 participants