# Nginx failed to detect missing semicolon in directive log\_format

**URL:** <https://www.ruby-forum.com/t/nginx-failed-to-detect-missing-semicolon-in-directive-log-format/209451>\
**Category:** NGINX\
**Created:** [July 14, 2011, 10:05am UTC](https://www.ruby-forum.com/t/nginx-failed-to-detect-missing-semicolon-in-directive-log-format/209451 "2011-07-14T10:05:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [July 14, 2011, 10:05am UTC](https://www.ruby-forum.com/t/nginx-failed-to-detect-missing-semicolon-in-directive-log-format/209451/1 "2011-07-14T10:05:01Z")

</div>

Hi:

When semicolon is omitted at the end of log\_format directive, nginx -t  
won’t  
detect this. Then, nginx will concatenate the last field with whatever  
it  
reads unitl a semicolon is encountered.

Although I understand this issue is caused by multi-lined directive such  
as  
log\_format, I would like to mention it here.
