[英]Rundeck - Working with execution logs & Caching
I have couple of queries- 我有几个疑问-
A. how can i get the execution logs ? 答:如何获取执行日志? The base_report table doesnt provide any reason for failures for jobs.
base_report表不提供任何导致作业失败的原因。 Where are the execution logs stored as my rdlogs dont have the required information?
由于我的rdlog没有所需的信息,执行日志存储在哪里? - My rundeck installation uses mysql as db.
-我的rundeck安装使用mysql作为数据库。 Kindly help with this requirement.
请对此要求有所帮助。
B. How can we use caching of queries to DB in rundeck ? B.我们如何在rundeck中使用查询缓存到DB? For eg.
例如。 Fetching 100 projects and job listing should vary only if there is a change in table else it should fetch from cache?
仅当表发生变化时,获取100个项目和工作清单才应该有所不同,否则应从缓存中获取?
Kindly help. 请帮助。
Thanks 谢谢
Logs for job executions are normally stored at a path relative to your rundeck installation's home directory. 作业执行的日志通常存储在相对于Rundeck安装主目录的路径中。
Your home directory should be defined in /etc/rundeck/rundeck-config.properties, as the value of rdeck.base. 您的主目录应在/etc/rundeck/rundeck-config.properties中定义为rdeck.base的值。 It's commonly /var/lib/rundeck.
通常是/ var / lib / rundeck。
Eg. 例如。 Pretending the name of your project is myproject.. execution logs would be at /var/lib/rundeck/logs/rundeck/myproject/job/
假装项目名称为myproject。执行日志位于/ var / lib / rundeck / logs / rundeck / myproject / job /
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.