Skip to content

Commit bef7537

Browse files
author
Pierre Buyle
committed
Rename log file to include site configuration file name.
1 parent 9c70be1 commit bef7537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/sites-available/drupal-site.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ server {
2828
limit_conn {{item.limit_conn|default('arbeit 32')}};
2929

3030
## Access and error logs.
31-
access_log {{nginx_drupal_log_path}}/{{item.server_name}}_access.log;
32-
error_log {{nginx_drupal_log_path}}/{{item.server_name}}_error.log;
31+
access_log {{nginx_drupal_log_path}}/{{item.server_name}}_{{item.file_name}}_access.log;
32+
error_log {{nginx_drupal_log_path}}/{{item.server_name}}_{{item.file_name}}_drupal_error.log;
3333

3434
## See the blacklist.conf file at the parent dir: /etc/nginx.
3535
## Deny access based on the User-Agent header.

0 commit comments

Comments
 (0)