Пардон! Все решается просто [code] static u_char buffer1[255]; ngx_cpymem(buffer1,r->args.data, r->args.len); buffer1[r->args.len] ='\0'; ngx_log_error(NGX_LOG_ERR, r->connection->log, NGX_ENOTDIR, "URL \"%s\" | ", buffer1); [/code] Posted at Nginx Forum: http://forum.nginx.org/read.php?21,149152,149163#msg-149163