-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Konstantin,
On 9/16/13 10:17 AM, Konstantin Kolinko wrote: > 2013/9/16 Christopher Schultz <ch...@christopherschultz.net>: >> On 9/13/13 10:08 PM, fachhoch wrote: >>> One more interesting thing I added this server to my eclispe >>> IDE and run from eclipse I don't get digester logs , but when >>> run from console lots of digester logs. >> >> This corroborates my sense that your configuration is either >> incorrect or not actually being read. >> >> I can't seem to find any information about how to get JULI into >> "debug" mode itself (e.g. dump information about the log config >> itself, and not just writing debug statements from other code). >> If you can figure that out, it would be very helpful to diagnose >> your problem. >> >> Perhaps someone else on the list knows how to get JULI into debug >> mode? >> > > 1. My guess is that there is "logging.properties" file somewhere > in the webapp's classpath, as I mentioned. > > Apparently there is no internal logging in JULI (apart logging > some unexpected errors), but you may a) run with a debugger (see > Tomcat FAQ), b) recompile it with whatever debug statements you > need. > > The configuration is loaded in > org.apache.juli.ClassLoaderLogManager#readConfiguration(ClassLoader). I've > added some code to ClassLoaderLogManager to dump the URL where logging.properties is being found to System.err. You can enable this logging in Tomcat 8 (RC2+) and Tomcat 7.0.43 (not yet released) by setting the system property "org.apache.juli.ClassLoaderLogManager=true" and restarting Tomcat. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSNxr7AAoJEBzwKT+lPKRYXUgQAKy7f0Bq0w5stBOqsgpyWqf3 XyQXFfIlYTSWn4QE3KsN/DRGYVDtGSrrmvfSx3AuhzA8Hy68/OIjhIAgmxB7eDoE DoT3zP1VkaR+hdssvhnrqk6R8LPNe6mnM9SmWwN0rJtelKcGahfyetfVadD4cJZB 2c3FZAvwxrHYm5DvhTzy+vxEZ1lj4eGnQBL8f47P3tUdhe87Z2zBU0Q6n0gaanQg +3OJd1bjQCTm7IeRaM7lkgVFAT4pNW2ZMKFqXuXtzEeKIpTSfvUz/2s+3oroyKzz 4G1E8mLoZvrG+p4RY96VQXd9mr0b2RPN3T5SVyBuCW8hAQPaVS0wKbodNMKijJ3A lD+NeGzFuc8W1VsGBa895dfVRkUqHIcMMUyZaL+4Y0W+jRuUlFnVSVjkJY4cW0g/ hq+N8vuo+S8cinmL32s5WLNx3/+NiEIYmwbGCa8rG328c+V5KQsn2YExXjAYHbI3 3+FHydjWUi8QaQX7wMh1xFtaecUq3wMQ8oTdAQLP9OCzsmw9neMqbJj4a40gm+Gg 5b1Gdi31Bm6hIzdzFMLZIKRiuIHsd6K4qrEDkepBsj31qjFln8m21auFLW9u2oLy cc7Eg/z4O4gkfUVzTSszWh8oEyevMeFJAP+GD7quqIuPDqWwPhX3tU1VgP3k3uzI WoYaSuNRJC5RCpLBsgTH =Xj/c -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org