https://bz.apache.org/bugzilla/show_bug.cgi?id=61232
Bug ID: 61232 Summary: Disabling rotation on the FileHandler creates 'catalina..log' instead of 'catalina.log' Product: Tomcat 8 Version: 8.5.x-trunk Hardware: PC OS: Linux Status: NEW Severity: trivial Priority: P2 Component: JULI Assignee: dev@tomcat.apache.org Reporter: csuth...@redhat.com Target Milestone: ---- This is a trivial thing, but I thought it a good Beginner issue (unless someone thinks that this is expected behavior). When you disable rotatable in the default logging.properties tomcat creates 'catalina..log' rather than the correct 'catalina.log' file. There is no functional issue, but it seems kinda buggy to do that. You can easily workaround it by overriding the default suffix with "1catalina.org.apache.juli.AsyncFileHandler.suffix=log". To reproduce: 1) Install tomcat 2) Disable log rotation $ echo "1catalina.org.apache.juli.AsyncFileHandler.rotatable = false" >> conf/logging.properties 3) Start tomcat bin/startup.sh 4) Check the logs directory for catalina log with double '.'s: $ ll logs/catalina.*log -rw-r-----. 1 coty coty 7796 Jun 28 13:58 logs/catalina..log -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org