소스 검색

Prepend ERROR: to all error logs

Marc Di Luzio 6 년 전
부모
커밋
6793d0d436
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      daemon/logging.h

+ 1 - 1
daemon/logging.h

@@ -51,7 +51,7 @@ POSSIBILITY OF SUCH DAMAGE.
 		}                                                                                          \
 	} while (0)
 
-#define PLOG_ERROR(...) fprintf(stderr, __VA_ARGS__)
+#define PLOG_ERROR(...) fprintf(stderr, "ERROR: " __VA_ARGS__)
 #define SYSLOG_ERROR(...) syslog(LOG_ERR, __VA_ARGS__)
 #define LOG_ERROR(...)                                                                             \
 	do {                                                                                           \