Project

General

Profile

« Previous | Next » 

Revision 70d588b8

Added by Marcos M almost 2 years ago

Align indentation in syslogd conf file

View differences:

src/etc/inc/syslog.inc
235 235

  
236 236
	$syslogconf .= "!*\n";
237 237
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
238
		$syslogconf .= "auth.*;authpriv.* 						{$g['varlog_path']}/auth.log\n";
238
		$syslogconf .= "auth.*;authpriv.* 					{$g['varlog_path']}/auth.log\n";
239 239
	}
240 240
	if (config_path_enabled('syslog', 'auth')) {
241 241
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "auth.*;authpriv.*");
......
251 251

  
252 252
	$syslogconf .= "!ntp,ntpd,ntpdate\n";
253 253
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
254
		$syslogconf .= "*.*								{$g['varlog_path']}/ntpd.log\n";
254
		$syslogconf .= "*.*									{$g['varlog_path']}/ntpd.log\n";
255 255
	}
256 256
	if (config_path_enabled('syslog', 'ntpd')) {
257 257
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
259 259

  
260 260
	$syslogconf .= "!ppp\n";
261 261
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
262
		$syslogconf .= "*.*								{$g['varlog_path']}/ppp.log\n";
262
		$syslogconf .= "*.*									{$g['varlog_path']}/ppp.log\n";
263 263
	}
264 264
	if (config_path_enabled('syslog', 'ppp')) {
265 265
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
267 267

  
268 268
	$syslogconf .= "!poes\n";
269 269
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
270
		$syslogconf .= "*.*								{$g['varlog_path']}/poes.log\n";
270
		$syslogconf .= "*.*									{$g['varlog_path']}/poes.log\n";
271 271
	}
272 272
	if (config_path_enabled('syslog', 'vpn')) {
273 273
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
275 275

  
276 276
	$syslogconf .= "!l2tps\n";
277 277
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
278
		$syslogconf .= "*.*								{$g['varlog_path']}/l2tps.log\n";
278
		$syslogconf .= "*.*									{$g['varlog_path']}/l2tps.log\n";
279 279
	}
280 280
	if (config_path_enabled('syslog', 'vpn')) {
281 281
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
283 283

  
284 284
	$syslogconf .= "!charon,ipsec_starter\n";
285 285
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
286
		$syslogconf .= "*.*								{$g['varlog_path']}/ipsec.log\n";
286
		$syslogconf .= "*.*									{$g['varlog_path']}/ipsec.log\n";
287 287
	}
288 288
	if (config_path_enabled('syslog', 'vpn')) {
289 289
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
291 291

  
292 292
	$syslogconf .= "!openvpn\n";
293 293
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
294
		$syslogconf .= "*.*								{$g['varlog_path']}/openvpn.log\n";
294
		$syslogconf .= "*.*									{$g['varlog_path']}/openvpn.log\n";
295 295
	}
296 296
	if (config_path_enabled('syslog', 'vpn')) {
297 297
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
299 299

  
300 300
	$syslogconf .= "!dpinger\n";
301 301
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
302
		$syslogconf .= "*.*								{$g['varlog_path']}/gateways.log\n";
302
		$syslogconf .= "*.*									{$g['varlog_path']}/gateways.log\n";
303 303
	}
304 304
	if (config_path_enabled('syslog', 'dpinger')) {
305 305
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
307 307

  
308 308
	$syslogconf .= "!dnsmasq,named,filterdns,unbound\n";
309 309
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
310
		$syslogconf .= "*.*								{$g['varlog_path']}/resolver.log\n";
310
		$syslogconf .= "*.*									{$g['varlog_path']}/resolver.log\n";
311 311
	}
312 312
	if (config_path_enabled('syslog', 'resolver')) {
313 313
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
315 315

  
316 316
	$syslogconf .= "!dhcpd,dhcrelay,dhclient,dhcp6c,dhcpleases,dhcpleases6,kea-dhcp4,kea-dhcp6\n";
317 317
	if (!config_path_enabled('syslog', 'disablelocallogging')) {
318
		$syslogconf .= "*.*								{$g['varlog_path']}/dhcpd.log\n";
318
		$syslogconf .= "*.*									{$g['varlog_path']}/dhcpd.log\n";
319 319
	}
320 320
	if (config_path_enabled('syslog', 'dhcp')) {
321 321
		$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*");
......
351 351
local3.*							{$g['varlog_path']}/vpn.log
352 352
local5.*							{$g['varlog_path']}/nginx.log
353 353
*.notice;kern.debug;lpr.info;mail.crit;daemon.none;news.err;local0.none;local3.none;local4.none;local7.none;security.*;auth.info;authpriv.info;daemon.info	{$g['varlog_path']}/system.log
354
auth.info;authpriv.info 					|exec /usr/local/sbin/sshguard -i /var/run/sshguard.pid
354
auth.info;authpriv.info 			|exec /usr/local/sbin/sshguard -i /var/run/sshguard.pid
355 355
*.emerg								*
356 356

  
357 357
EOD;

Also available in: Unified diff