[JIRA] Commented: (SSPCPP-446) Try moving child_init hooks in Apache 2.x modules to post_config
Scott Cantor (JIRA)
noreply at shibboleth.net
Fri May 4 21:57:03 BST 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053#comment-14053 ]
Scott Cantor commented on SSPCPP-446:
-------------------------------------
http://svn.shibboleth.net/view/cpp-sp?rev=3643&view=rev
Tested on OS X Apache 2.2.
SP library init call now defaults in usual logging config for inproc- or outproc-only modes (modules and shibd). SP config layer now re-inits logging only when explicit logger properties are found. Library init for Apache 2 moved to post_config, with full config load left in child_init. This gets logging installed prior to forking, which fixes the native.log permissions mess as long as native.logger file is used (which is always).
Needs more testing, but this looks like the best of the possible outcomes.
> Try moving child_init hooks in Apache 2.x modules to post_config
> ----------------------------------------------------------------
>
> Key: SSPCPP-446
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-446
> Project: Shibboleth SP - C++
> Issue Type: Improvement
> Components: Web Server Modules
> Reporter: Scott Cantor
> Assignee: Scott Cantor
> Fix For: 2.5
>
> Original Estimate: 1 day
> Time Spent: 3 hours
> Remaining Estimate: 5 hours
>
> Moving child_init to post_config may be more efficient and could solve the permissions mess with native.log. Not sure it will work, needs to be tested.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list