Fixing nginx custom log issue
Define custom log format only once