|Summary:||Print JkOptions's options in log file and jkstatus page|
|Product:||Tomcat Connectors||Reporter:||Domenico Briganti <dometec>|
|Component:||mod_jk||Assignee:||Tomcat Developers Mailing List <dev>|
Description Domenico Briganti 2012-01-18 12:21:00 UTC
Is useful to me to check that server at runtime properly takes JkOtions argument.
Comment 1 Rainer Jung 2014-12-29 13:03:17 UTC
I currently do not plan to implement the status worker part of this feature. We do have quite a few config items in mod_jk for the Apache web server on top of worker properties and mapping. JkOptions is only a little bit special, so if we are going to add more config info to the status worker, I think we should add most of these items there. That would make the page huge, so for the HTML page, it should be a separate page. I hesitate to do the work now. Not only the work in the status worker, but also in the Apache web server part of the module to make the config accessible from the more generic status worker. Not really difficult, but quite a bit of code and work. As always: patches welcome. I'm not closing as WONTFIX and I'm interessted in more comments on this enhancement request. See also BZ 49063. I will ponder how to implment the logging part though (on debug log level). The code merging the JkOptions is non-trivial, so it could be helpful to dump the results like we do for other type of more complex configuration handling.
Comment 2 Rainer Jung 2014-12-29 13:53:59 UTC
I implemented the logging part in r1648345. Example output: [Mon Dec 29 14:42:54.226 2014] [5541:1] [debug] dump_options::mod_jk.c (676): JkOption 'ForwardURIProxy' set in server 'myserver.example.com' (default) [Mon Dec 29 14:42:54.226 2014] [5541:1] [debug] dump_options::mod_jk.c (696): JkOption 'ForwardKeySize' set in server 'myserver.example.com' (default) [Mon Dec 29 14:42:54.226 2014] [5541:1] [debug] dump_options::mod_jk.c (724): JkOption 'CollapseSlashesUnmount' set in server 'myserver.example.com' (default) Regards, Rainer
Comment 3 Mark Thomas 2018-08-23 19:16:25 UTC
*** Bug 49063 has been marked as a duplicate of this bug. ***
Comment 4 Mark Thomas 2018-08-23 19:16:47 UTC
NOte that the duplicate was specifically interested in JkStripSession