Skip to content

Commit 1c2eaba

Browse files
sunjayBhatiaAmin Jamali
authored andcommitted
Add logging_level for route_registrar job
This is helpful for teams that would like to skip the chatty info messages from route_registrar. Co-authored-by: Amin Jamali <[email protected]>
1 parent 238e1a9 commit 1c2eaba

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

jobs/route_registrar/spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ properties:
4444
description: (string, optional) By default, route_registrar will detect the IP of the VM and use it, in combination with port as the backend destination for each uri being registered. This property enables overriding the destination hostname or IP.
4545
example: 192.168.60.25
4646

47+
route_registrar.logging_level:
48+
description: "Log level for route_registrar"
49+
default: "info"
4750
route_registrar.routing_api.api_url:
4851
description: (optional, string) The routing API's URL. This is required to register any TCP routes.
4952
default: https://routing-api.service.cf.internal:3001

jobs/route_registrar/templates/bpm.yml.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ processes:
66
- /var/vcap/jobs/route_registrar/config/registrar_settings.json
77
- -timeFormat
88
- rfc3339
9+
- -logLevel
10+
- <%= p('route_registrar.logging_level') %>
911
<%
1012
paths = []
1113
routes = p('route_registrar.routes')

0 commit comments

Comments
 (0)