Skip to content

Commit

Permalink
Add nginx logs for docker-registry host to rsyslog
Browse files Browse the repository at this point in the history
Bug: T322579
Change-Id: I4e73f017e977ba8c3f7c73a8098bba65b40f7faf
  • Loading branch information
Eoghan Gaffney committed May 23, 2023
1 parent 642419d commit 3ac4529
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/docker/manifests/registry.pp
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,12 @@
'/etc/docker/registry/config.yml'
],
}

rsyslog::input::file { 'registry-nginx-error':
path => '/var/log/nginx/error.log',
}

rsyslog::input::file { 'registry-nginx-access':
path => '/var/log/nginx/access.log',
}
}

0 comments on commit 3ac4529

Please sign in to comment.