Skip to content

Conditional logging variable removed from kong access_log directive. #10848

Closed Answered by willianmga
willianmga asked this question in Help
Discussion options

You must be logged in to vote

Case closed.

The variable keeplog wasn't being escaped on docker.

noticed that because of the warning

docker compose up                                                                                                                                                                                 
WARN[0000] The "keeplog" variable is not set. Defaulting to a blank string.

Fixed by escaping it using $$, like that

KONG_PROXY_ACCESS_LOG=/dev/stdout liferay_log_format if=$$keeplog

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hwlee96
Comment options

@willianmga
Comment options

Answer selected by willianmga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants