简体   繁体   中英

can we change rundeck logs location to /data directory?

We are using rundeck 2.8.4.1 we have number of rundeck job which will generate huge number of log files in /var/lib/rundeck /logs

we have housekeeping and backup jobs in place to purge the older logs in Filesystem and DB.

But my concern is can we change this /var/lib/rundeck/logs location in rundeck framework.properties file to /data directory?which we have more file-system space than /var.

framework.logs.dir=/var/lib/rundeck/logs

To

framework.logs.dir=/data/rundeck/logs

As you say, just modify the line framework.logs.dir=/var/lib/rundeck/logs by framework.logs.dir=/your/new/path (tested on 2.8.4 and 3.2.6). Here you have more information about that.

So, remember that it's for execution logs, not for " system " Rundeck logs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM