Skip to content

Commit 7a36d74

Browse files
committed
remove syslog logging from cloud controller sinks
1 parent e07777b commit 7a36d74

File tree

20 files changed

+6
-233
lines changed

20 files changed

+6
-233
lines changed

.devcontainer/images/nginx/conf/nginx_external_endpoints.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ server {
99
# proxy and log all CC traffic
1010
location / {
1111
access_log /tmp/nginx-access.log main;
12-
access_log syslog:server=127.0.0.1,severity=info,tag=vcap_nginx_access main;
1312
proxy_buffering off;
1413
proxy_set_header Host $host;
1514
proxy_set_header X-Real_IP $remote_addr;

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ gem 'sequel_pg', require: 'sequel'
3131
gem 'sinatra', '~> 4.2'
3232
gem 'sinatra-contrib'
3333
gem 'statsd-ruby', '~> 1.5.0'
34-
gem 'syslog'
3534
gem 'talentbox-delayed_job_sequel', '~> 4.4.0'
3635
gem 'uri', '~> 1.1'
3736
gem 'vmstat', '~> 2.3'

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,6 @@ GEM
566566
spring (>= 0.9.1)
567567
statsd-ruby (1.5.0)
568568
stringio (3.2.0)
569-
syslog (0.4.0)
570-
logger
571569
talentbox-delayed_job_sequel (4.4.0)
572570
delayed_job (~> 4.1)
573571
sequel (>= 5.0, < 6.0)
@@ -681,7 +679,6 @@ DEPENDENCIES
681679
spring
682680
spring-commands-rspec
683681
statsd-ruby (~> 1.5.0)
684-
syslog
685682
talentbox-delayed_job_sequel (~> 4.4.0)
686683
timecop
687684
uri (~> 1.1)

config/cloud_controller.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ nginx:
111111
logging:
112112
file: /tmp/cloud_controller.log
113113
level: debug2
114-
syslog: vcap.example
115114
anonymize_ips: false
116115
format:
117116
timestamp: 'rfc3339'

lib/cloud_controller/config_schemas/api_schema.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ class ApiSchema < VCAP::Config
7575
logging: {
7676
level: String, # debug, info, etc.
7777
file: String, # Log file to use
78-
syslog: String, # Name to associate with syslog messages (should start with 'vcap.')
7978
optional(:stdout_sink_enabled) => bool,
8079
optional(:anonymize_ips) => bool,
8180
optional(:format) => {

lib/cloud_controller/config_schemas/blobstore_benchmarks_schema.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class BlobstoreBenchmarksSchema < VCAP::Config
3434
optional(:logging) => {
3535
optional(:level) => String,
3636
optional(:file) => String,
37-
optional(:syslog) => String,
3837
optional(:stdout_sink_enabled) => bool
3938
},
4039

lib/cloud_controller/config_schemas/clock_schema.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ class ClockSchema < VCAP::Config
4444

4545
logging: {
4646
level: String, # debug, info, etc.
47-
file: String, # Log file to use
48-
syslog: String # Name to associate with syslog messages (should start with 'vcap.')
47+
file: String # Log file to use
4948
},
5049

5150
pid_filename: String, # Pid filename to use

lib/cloud_controller/config_schemas/deployment_updater_schema.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class DeploymentUpdaterSchema < VCAP::Config
99

1010
logging: {
1111
level: String, # debug, info, etc.
12-
file: String, # Log file to use
13-
syslog: String # Name to associate with syslog messages (should start with 'vcap.')
12+
file: String # Log file to use
1413
},
1514

1615
pid_filename: String, # Pid filename to use

lib/cloud_controller/config_schemas/migrate_schema.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class MigrateSchema < VCAP::Config
3434
logging: {
3535
level: String, # debug, info, etc.
3636
file: String, # Log file to use
37-
syslog: String, # Name to associate with syslog messages (should start with 'vcap.')
3837
optional(:stdout_sink_enabled) => bool
3938
}
4039
}

lib/cloud_controller/config_schemas/rotate_database_key_schema.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class RotateDatabaseKeySchema < VCAP::Config
88
logging: {
99
level: String, # debug, info, etc.
1010
file: String, # Log file to use
11-
syslog: String, # Name to associate with syslog messages (should start with 'vcap.')
1211
stdout_sink_enabled: bool
1312
},
1413

0 commit comments

Comments
 (0)