[Git][java-team/tomcat9][bullseye] Set the fileOwner of catalina.out to tomcat explicitly.

Markus Koschany (@apo) gitlab at salsa.debian.org
Fri Sep 24 18:03:44 BST 2021



Markus Koschany pushed to branch bullseye at Debian Java Maintainers / tomcat9


Commits:
1e969ffc by Markus Koschany at 2021-09-24T14:23:06+02:00
Set the fileOwner of catalina.out to tomcat explicitly.

Closes: #987179
Thanks: Adam Cecile for the report.

- - - - -


1 changed file:

- debian/rsyslog/tomcat9.conf


Changes:

=====================================
debian/rsyslog/tomcat9.conf
=====================================
@@ -2,6 +2,6 @@
 $template TomcatFormat,"[%timegenerated:::date-year%-%timegenerated:::date-month%-%timegenerated:::date-day% %timegenerated:::date-hour%:%timegenerated:::date-minute%:%timegenerated:::date-second%] [%syslogseverity-text%]%msg%\n"
 
 :programname, startswith, "tomcat9" {
-  /var/log/tomcat9/catalina.out;TomcatFormat
+  action(type="omfile" file="/var/log/tomcat9/catalina.out" Template="TomcatFormat" fileOwner="tomcat" fileCreateMode="0640")
   stop
 }



View it on GitLab: https://salsa.debian.org/java-team/tomcat9/-/commit/1e969ffcfa81899e782141cbe1e8e6fe2b73d4db

-- 
View it on GitLab: https://salsa.debian.org/java-team/tomcat9/-/commit/1e969ffcfa81899e782141cbe1e8e6fe2b73d4db
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20210924/835f2658/attachment.htm>


More information about the pkg-java-commits mailing list