58

Jenkins日志文件过大解决方案-12075228

 7 years ago
source link: http://blog.51cto.com/12085228/2083063
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
一、写定时任务删除日志文件#crontab-e*****/1rm-rf/var/log/jenkins/*二、修改jenkins日志的级别解决方案1:使用java.util.logging:创建一个文件logging.properties,您可以在其中定义日志级别和ConsoleHandler。然后通过添加系统属性-Djava.util.logging.config.file=<pathTo

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK