Re: Improving documentation of error_log (Was: Bad requests with 0-byte response)

2009/12/2 Anton Y. [email protected]:

Jean-Baptiste Q. wrote:

What about moving the error_log directive documentation to the log
module along with access_log?

http://wiki.nginx.org/NginxHttpLogModule

error_log implemented in core module, not in ngx_http_log_module

And is it required that the documentation structure reflects the code?
Currently error_log is not properly documented, we need to fix that.
I notice that error_log works similar to access_log, so it makes sense
to group them in the documentation, don’t you think?

Jean-Baptiste Q.

Jean-Baptiste Q. wrote:

I notice that error_log works similar to access_log, so it makes sense
to group them in the documentation, don’t you think?

If structure of directive documentation will be different from structure
of
original docs
http://sysoev.ru/nginx/docs/
It will be more hard to merge new docs from sysoev.ru to wiki

Better will be to add link
http://wiki.nginx.org/NginxHttpMainModule#error_log
in References section of page Module ngx_http_log_module


Anton Y.

2009/12/3 Anton Y. [email protected]:

If structure of directive documentation will be different from structure of
original docs
nginx: документация
It will be more hard to merge new docs from sysoev.ru to wiki

You say that the wiki follows Igor’s russian documentation, but I
don’t understand why error_log is not documented there:

http://sysoev.ru/nginx/docs/ngx_core_module.html

I search with Google on site:sysoev.ru and I can’t find any formal
definition of error_log.

Am I missing something?

Jean-Baptiste Q.

Jean-Baptiste Q. wrote:

You say that the wiki follows Igor’s russian documentation, but I
don’t understand why error_log is not documented there:

Основная функциональность

On nginx: документация is not documented many old directives.
Most new ones is documented, when added.


Anton Y.