Does anyone have a approved log file format for nginx saving several hosts to the same file. I have tried the server defined one of ‘combined’ however that does not log the hostname for some reason.
I therefore assume I need to specify the log format manually, can anyone tell me the best format for nginx.
Thanks for the reply, it cannot detect what is not there and the combined log format simply does not inculde a hostname. Here is an example of the defined combined format for nginx 1.7.3