Skip to content

Commit

Permalink
Merge pull request #97 from bjwhite-fnal/add_httpd_log_dir_env_var
Browse files Browse the repository at this point in the history
Add HTTPD logging directory environment variable to web UI
  • Loading branch information
tbeerman authored Sep 2, 2020
2 parents c1fa64d + ab84c27 commit 49b1b61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/rucio.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ CacheRoot /tmp
{% endif %}

{% if RUCIO_ENABLE_LOGFILE|default('False') == 'True' %}
{% if RUCIO_HTTPD_LOG_DIR is defined %}
CustomLog {{RUCIO_HTTPD_LOG_DIR}}/access_log combinedrucio
ErrorLog {{RUCIO_HTTPD_LOG_DIR}}/error_log
{% else %}
CustomLog logs/access_log combinedrucio
ErrorLog logs/error_log
{% endif %}
{% else %}
CustomLog /dev/stdout combinedrucio
ErrorLog /dev/stderr
Expand Down

0 comments on commit 49b1b61

Please sign in to comment.