Set 'combined' as default log format when not using Cloudflare (#410)
* Fix the accessLogParamsDefault issue This fixes #409 * Fixed for cloudflare logformat Co-authored-by: Matt Cowley <me@mattcowley.co.uk>pull/411/head^2
parent
c026007a5d
commit
d9a77798b0
|
@ -40,7 +40,7 @@ export const getDomainAccessLog = (domain, global) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return path +
|
return path +
|
||||||
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
|
(global.logging.cloudflare.computed ? ' cloudflare' : ' combined') +
|
||||||
(domain.logging.accessLogParameters.computed.trim() ? ` ${domain.logging.accessLogParameters.computed.trim()}`: '');
|
(domain.logging.accessLogParameters.computed.trim() ? ` ${domain.logging.accessLogParameters.computed.trim()}`: '');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue