This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Databank now support 3 embargo states - Dark, Embargoed and Open.
Added a profiler to the pylons middleware
- Loading branch information
Anusha Ranganathan
committed
Sep 20, 2011
1 parent
1b3b927
commit af77eb7
Showing
18 changed files
with
1,777 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ debug = false | |
# Uncomment and replace with the address which should receive any error reports | ||
#email_to = [email protected] | ||
smtp_server = localhost | ||
error_email_from = paste@localhost | ||
error_email_from = paste@jenkins | ||
|
||
[server:main] | ||
use = egg:Paste#http | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# The %(here)s variable will be replaced with the parent directory of this file | ||
# | ||
[DEFAULT] | ||
debug = false | ||
debug = true | ||
# Uncomment and replace with the address which should receive any error reports | ||
#email_to = [email protected] | ||
smtp_server = localhost | ||
|
@@ -13,11 +13,11 @@ error_email_from = paste@localhost | |
[server:main] | ||
use = egg:Paste#http | ||
#Use these setings to run pylons using mod_wsgi and apache | ||
host = 127.0.0.1 | ||
port = 5000 | ||
#host = 127.0.0.1 | ||
#port = 5000 | ||
#Use these settings tp run pylons from the commandline | ||
#host = 0.0.0.0 | ||
#port = 80 | ||
host = 0.0.0.0 | ||
port = 80 | ||
|
||
[app:main] | ||
use = egg:rdfdatabank | ||
|
@@ -30,16 +30,18 @@ beaker.session.secret = somesecret | |
|
||
who.config_file = %(here)s/who.ini | ||
who.log_level = info | ||
who.log_file = /var/log/databank/who.log | ||
#who.log_file = stdout | ||
#who.log_file = /var/log/databank/who.log | ||
who.log_file = stdout | ||
#who.log_file = %(here)s/logs/who.log | ||
|
||
redis.host = localhost | ||
|
||
granary.store = %(here)s/silos | ||
#granary.uri_root = http://databank.bodleian.ox.ac.uk/datasets/ | ||
granary.uri_root = http://192.168.23.133/ | ||
|
||
profile.log_filename = %(here)s/logs/profile.log | ||
profile.path = /__profile__ | ||
|
||
auth.file = %(here)s/passwd | ||
auth.info = %(here)s/rdfdatabank/config/users.py | ||
|
||
|
@@ -80,17 +82,17 @@ keys = generic | |
|
||
[logger_root] | ||
level = INFO | ||
handlers = logfile | ||
handlers = console | ||
|
||
[logger_routes] | ||
level = INFO | ||
handlers = logfile | ||
handlers = console | ||
qualname = routes.middleware | ||
# "level = DEBUG" logs the route matched and routing variables. | ||
|
||
[logger_rdfdatabank] | ||
level = DEBUG | ||
handlers = logfile | ||
handlers = console | ||
qualname = rdfdatabank | ||
|
||
[handler_console] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ debug = false | |
# Uncomment and replace with the address which should receive any error reports | ||
email_to = [email protected] | ||
smtp_server = localhost | ||
error_email_from = paste@localhost | ||
error_email_from = paste@databank | ||
|
||
[server:main] | ||
use = egg:Paste#http | ||
|
@@ -35,10 +35,8 @@ who.log_file = /var/log/databank/who.log | |
|
||
redis.host = localhost | ||
|
||
#granary.store = %(here)s/silos | ||
granary.store = /silos | ||
granary.uri_root = http://databank.ora.ox.ac.uk/ | ||
#granary.uri_root = http://163.1.127.173/ | ||
|
||
auth.file = %(here)s/passwd | ||
auth.info = %(here)s/rdfdatabank/config/users.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.