https://bz.apache.org/bugzilla/show_bug.cgi?id=66203
Konstantin Kolinko <knst.koli...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> --- 1. I do not like adding details like that to an exception message. As can be seen from the stackoverflow link, the error message is being shown to a visitor of a web site. Showing them installation details is a bad idea. 2. It should be possible to add a log statement. E.g. the actual path of a directory. Though note that a. There exists a org.apache.catalina.startup.VersionLoggerListener It already logs valuable information. b. A care would better be taken to do not flood the logs. It should not be logged more often than usual JSP compilation errors, when Jasper is configured with development=false. > 1) say which folder is attempted to be created The "catalina.base" directory is logged. It is possible to derive the rest of the path from there. > 2) what userId the current tomcat is running under This will be logged if VersionLoggerListener is configured with logProps=true. The "user.name" property is it. Maybe it is worth to improve VersionLoggerListener to log a value of the "user.name" property unconditionally, by default. Though if Tomcat is launched via jsvc, Tomcat may initialize under one user, and then start under another one. https://commons.apache.org/proper/commons-daemon/jsvc.html > 3) what permission rights are found on the super-directory A failing File.mkdirs() call does not provide such details. Also, what is meant by permissions differs between operating systems. -- 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