@@ -42,6 +42,9 @@ autostart=false
42
42
autorestart=false
43
43
stdout_logfile=syslog
44
44
stderr_logfile=syslog
45
+ {% if ENABLE_ASAN == "y" %}
46
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/syncd-asan.log"
47
+ {% endif %}
45
48
46
49
[program:gbsyncd]
47
50
command=/usr/bin/syncd -s -p /usr/share/sonic/hwsku/pai.profile -x /usr/share/sonic/hwsku/context_config.json -g 1
@@ -67,6 +70,9 @@ autostart=false
67
70
autorestart=false
68
71
stdout_logfile=syslog
69
72
stderr_logfile=syslog
73
+ {% if ENABLE_ASAN == "y" %}
74
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/portsyncd-asan.log"
75
+ {% endif %}
70
76
71
77
[program:orchagent]
72
78
command=/usr/bin/orchagent.sh
@@ -75,6 +81,9 @@ autostart=false
75
81
autorestart=false
76
82
stdout_logfile=syslog
77
83
stderr_logfile=syslog
84
+ {% if ENABLE_ASAN == "y" %}
85
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/orchagent-asan.log"
86
+ {% endif %}
78
87
79
88
[program:coppmgrd]
80
89
command=/usr/bin/coppmgrd
@@ -83,6 +92,9 @@ autostart=false
83
92
autorestart=false
84
93
stdout_logfile=syslog
85
94
stderr_logfile=syslog
95
+ {% if ENABLE_ASAN == "y" %}
96
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/coppmgrd-asan.log"
97
+ {% endif %}
86
98
87
99
[program:neighsyncd]
88
100
command=/usr/bin/neighsyncd
@@ -91,6 +103,9 @@ autostart=false
91
103
autorestart=false
92
104
stdout_logfile=syslog
93
105
stderr_logfile=syslog
106
+ {% if ENABLE_ASAN == "y" %}
107
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/neighsyncd-asan.log"
108
+ {% endif %}
94
109
95
110
[program:teamsyncd]
96
111
command=/usr/bin/teamsyncd
@@ -99,6 +114,9 @@ autostart=false
99
114
autorestart=false
100
115
stdout_logfile=syslog
101
116
stderr_logfile=syslog
117
+ {% if ENABLE_ASAN == "y" %}
118
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/teamsyncd-asan.log"
119
+ {% endif %}
102
120
103
121
[program:vlanmgrd]
104
122
command=/usr/bin/vlanmgrd
@@ -107,6 +125,9 @@ autostart=false
107
125
autorestart=false
108
126
stdout_logfile=syslog
109
127
stderr_logfile=syslog
128
+ {% if ENABLE_ASAN == "y" %}
129
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/vlanmgrd-asan.log"
130
+ {% endif %}
110
131
111
132
[program:intfmgrd]
112
133
command=/usr/bin/intfmgrd
@@ -115,6 +136,9 @@ autostart=false
115
136
autorestart=false
116
137
stdout_logfile=syslog
117
138
stderr_logfile=syslog
139
+ {% if ENABLE_ASAN == "y" %}
140
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/intfmgrd-asan.log"
141
+ {% endif %}
118
142
119
143
[program:portmgrd]
120
144
command=/usr/bin/portmgrd
@@ -123,6 +147,9 @@ autostart=false
123
147
autorestart=false
124
148
stdout_logfile=syslog
125
149
stderr_logfile=syslog
150
+ {% if ENABLE_ASAN == "y" %}
151
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/portmgrd-asan.log"
152
+ {% endif %}
126
153
127
154
[program:teammgrd]
128
155
command=/usr/bin/teammgrd
@@ -131,6 +158,9 @@ autostart=false
131
158
autorestart=false
132
159
stdout_logfile=syslog
133
160
stderr_logfile=syslog
161
+ {% if ENABLE_ASAN == "y" %}
162
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/teammgrd-asan.log"
163
+ {% endif %}
134
164
135
165
[program:zebra]
136
166
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M fpm
@@ -163,6 +193,9 @@ autostart=false
163
193
autorestart=false
164
194
stdout_logfile=syslog
165
195
stderr_logfile=syslog
196
+ {% if ENABLE_ASAN == "y" %}
197
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/fpmsyncd-asan.log"
198
+ {% endif %}
166
199
167
200
[program:arp_update]
168
201
command=/usr/bin/arp_update
@@ -179,6 +212,9 @@ autostart=false
179
212
autorestart=false
180
213
stdout_logfile=syslog
181
214
stderr_logfile=syslog
215
+ {% if ENABLE_ASAN == "y" %}
216
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/buffermgrd-asan.log"
217
+ {% endif %}
182
218
183
219
[program:vrfmgrd]
184
220
command=/usr/bin/vrfmgrd
@@ -187,6 +223,9 @@ autostart=false
187
223
autorestart=false
188
224
stdout_logfile=syslog
189
225
stderr_logfile=syslog
226
+ {% if ENABLE_ASAN == "y" %}
227
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/vrfmgrd-asan.log"
228
+ {% endif %}
190
229
191
230
[program:restore_neighbors]
192
231
command=/usr/bin/restore_neighbors.py
@@ -205,6 +244,9 @@ autostart=false
205
244
autorestart=false
206
245
stdout_logfile=syslog
207
246
stderr_logfile=syslog
247
+ {% if ENABLE_ASAN == "y" %}
248
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/nbrmgrd-asan.log"
249
+ {% endif %}
208
250
209
251
[program:vxlanmgrd]
210
252
command=/usr/bin/vxlanmgrd
@@ -213,6 +255,9 @@ autostart=false
213
255
autorestart=false
214
256
stdout_logfile=syslog
215
257
stderr_logfile=syslog
258
+ {% if ENABLE_ASAN == "y" %}
259
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/vxlanmgrd-asan.log"
260
+ {% endif %}
216
261
217
262
[program:sflowmgrd]
218
263
command=/usr/bin/sflowmgrd
@@ -221,6 +266,9 @@ autostart=false
221
266
autorestart=false
222
267
stdout_logfile=syslog
223
268
stderr_logfile=syslog
269
+ {% if ENABLE_ASAN == "y" %}
270
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/sflowmgrd-asan.log"
271
+ {% endif %}
224
272
225
273
[program:natmgrd]
226
274
command=/usr/bin/natmgrd
@@ -229,6 +277,9 @@ autostart=false
229
277
autorestart=false
230
278
stdout_logfile=syslog
231
279
stderr_logfile=syslog
280
+ {% if ENABLE_ASAN == "y" %}
281
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/natmgrd-asan.log"
282
+ {% endif %}
232
283
233
284
[program:natsyncd]
234
285
command=/usr/bin/natsyncd
@@ -237,6 +288,9 @@ autostart=false
237
288
autorestart=false
238
289
stdout_logfile=syslog
239
290
stderr_logfile=syslog
291
+ {% if ENABLE_ASAN == "y" %}
292
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/natsyncd-asan.log"
293
+ {% endif %}
240
294
241
295
[program:fdbsyncd]
242
296
command=/usr/bin/fdbsyncd
@@ -245,6 +299,9 @@ autostart=false
245
299
autorestart=false
246
300
stdout_logfile=syslog
247
301
stderr_logfile=syslog
302
+ {% if ENABLE_ASAN == "y" %}
303
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/fdbsyncd-asan.log"
304
+ {% endif %}
248
305
249
306
[program:tunnelmgrd]
250
307
command=/usr/bin/tunnelmgrd
@@ -253,3 +310,6 @@ autostart=false
253
310
autorestart=false
254
311
stdout_logfile=syslog
255
312
stderr_logfile=syslog
313
+ {% if ENABLE_ASAN == "y" %}
314
+ environment=ASAN_OPTIONS="log_path=/var/log/asan/tunnelmgrd-asan.log"
315
+ {% endif %}
0 commit comments