Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

FAQ for Ops - What's the default *log store duration*? How to extend the duration? #1982

Closed
JianfeiHu opened this issue Jan 8, 2019 · 6 comments

Comments

@JianfeiHu
Copy link

Organization Name:
Short summary about the issue/question:We want to keep the logs for a long time. Where do we keep the logs for the system and job? How long is the storage period?

OpenPAI Environment:
OpenPAI version:0.8.2
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

@mzmssg
Copy link
Member

mzmssg commented Jan 8, 2019

@mzmssg mzmssg self-assigned this Jan 8, 2019
@JianfeiHu
Copy link
Author

@mzmssg 这个值有上限吗?还有系统的日志保存在什么地方?

@mzmssg
Copy link
Member

mzmssg commented Jan 10, 2019

@JianfeiHu
Seems no limitation.
We have no a system log centralization, the general solution is getting them by docker logs .

@ydye
Copy link
Contributor

ydye commented Jan 14, 2019

For service's log, the max log size will be 100m * 10.

 "log-opts": {
    "max-size": "100m",
    "max-file": "10"
  },

@scarlett2018 scarlett2018 changed the title Log storage FAQ for Ops - What's the default *log store duration*? How to extend the duration? Jan 19, 2019
@scarlett2018
Copy link
Member

@YanjieGao @mzmssg - this seems to be an fundamental question for ops, may we update the FAQ with it?

@JianfeiHu - had you evaluated the answers and were they addressed your question?

@mzmssg
Copy link
Member

mzmssg commented Mar 6, 2019

@JianfeiHu
Refer to #2244

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

No branches or pull requests

6 participants