|
|
|
@ -28,10 +28,10 @@
|
|
|
|
|
|
|
|
|
|
/* log messages from lighty always as ERROR */
|
|
|
|
|
#define INSTANCE(srv, inst, msg) \
|
|
|
|
|
li_log_write(srv, LI_LOG_LEVEL_ERROR, LI_LOG_FLAG_NONE, "lighttpd[%d]: %s", (int) inst->pid, msg)
|
|
|
|
|
li_log_write(srv, LI_LOG_LEVEL_ERROR, LI_LOG_FLAG_TIMESTAMP, "lighttpd[%d]: %s", (int) inst->pid, msg)
|
|
|
|
|
|
|
|
|
|
#define GERROR(srv, error, fmt, ...) \
|
|
|
|
|
li_log_write_(srv, LI_LOG_LEVEL_ERROR, LI_LOG_FLAG_TIMESTAMP, "error (%s:%d): " fmt "\n %s", LI_REMOVE_PATH(__FILE__), __LINE__, __VA_ARGS__, error ? error->message : "Empty GError")
|
|
|
|
|
li_log_write(srv, LI_LOG_LEVEL_ERROR, LI_LOG_FLAG_TIMESTAMP, "error (%s:%d): " fmt "\n %s", LI_REMOVE_PATH(__FILE__), __LINE__, __VA_ARGS__, error ? error->message : "Empty GError")
|
|
|
|
|
|
|
|
|
|
#define BACKEND_LINES(srv, txt, ...) \
|
|
|
|
|
li_log_split_lines_(srv, LI_LOG_LEVEL_INFO, LI_LOG_FLAG_TIMESTAMP, txt, __VA_ARGS__)
|
|
|
|
|