Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: Distinguish logs of multiple wsgi scripts when they share one log file #19

Open
CharlesZ-Chen opened this issue May 2, 2016 · 0 comments

Comments

@CharlesZ-Chen
Copy link
Collaborator

Now we may have four wsgi scripts serve for different purposes:

  • WSGIScriptAlias /live .../checkerweb.wsgi for showing released version of CF
  • WSGIScriptAlias /live-dev .../checkerweb-dev.wsgi for showing development version of CF
  • WSGIScriptAlias /rise4fun .../checkerweb-rise4fun.wsgi for rise4fun integration
  • WSGIScriptAlias /rise4run-dev .../checkerweb-rise4fun-dev.wsgi for rise4fun integration development

All of above wsgi scripts delegate to the same virtual host listening on port 80 because we currently only have 80 port avaliable for public access, which means these wsgi scripts will also have to share the same apache log files (error log and access log) because apache only allocate one set of log files per virtual host.

Thus, we might need to customise our log format in order to distinguish logs of these wsgi scripts.

Following links might be helpful (not carefully read about it, but leave here for possible future use):
http://httpd.apache.org/docs/2.0/vhosts/fd-limits.html#splitlogs
http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#logformat
http://httpd.apache.org/docs/2.0/programs/other.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant