rendered paste body syslog(LOG_DAEMON | (critical ? LOG_INFO : LOG_CRIT),
/* IP client user date/time request result size rule */
"%u.%u.%u.%u %s %s [%2.2u/%s/%u:%2.2u:%2.2u:%2.2u %c%2.2li%2.2li] %s %i %i %i",
/* IP */
(ip & 0xFF000000)>>24,(ip & 0x00FF0000)>>16,
(ip & 0x0000FF00)>>8,ip & 0x000000FF,
/* client (not specified) */
"-",
/* user */
user,
/* date/time */
broken_time->tm_mday,months[broken_time->tm_mon-1],1900+broken_time->tm_year,
broken_time->tm_hour, broken_time->tm_min, broken_time->tm_sec,
(timezone < 0) ? '+' : '-',
(timezone > 0) ? (timezone/3600) : (-1*timezone/3600),
(timezone % 60),
/* HTTP request */
request,
/* HTTP response */
status,
/* Transfer size */
size,
/* rule (extension to NCSA) */
rule
);