This file is indexed.

/usr/share/upstart/sessions/application-logrotate.conf is in ubuntu-app-launch 0.5+15.10.20150817-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
description "Application Logs need a shorter lifecycle"

# Run after log rotate
start on stopped logrotate

script
	logdir=${XDG_CACHE_HOME:-$HOME/.cache}/upstart

	#
	# If a log is older than two days we're clearing it
	#
	find ${logdir} -mtime +2 -name "application-click-*.log.[1-9].gz" -delete
	find ${logdir} -mtime +2 -name "application-legacy-*.log.[1-9].gz" -delete
end script