Browse code

stats.h: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 19:19:35
Showing 1 changed files
... ...
@@ -49,8 +49,7 @@
49 49
           	case METHOD_BYE: stats->dir##_requests_bye++; break;		\
50 50
 		case METHOD_INFO: stats->dir##_requests_info++; break;		\
51 51
           	case METHOD_OTHER: stats->dir##_requests_other++; break;	\
52
-          	default: LOG(L_ERR, "ERROR: unknown method in rq stats (%s)\n", \
53
-							#dir);	\
52
+		default: LM_ERR("unknown method in rq stats (%s)\n", #dir);	\
54 53
 		}	\
55 54
 	}while(0)
56 55
 
... ...
@@ -80,8 +79,7 @@
80 80
                         _statusline(4, dir)                   \
81 81
                         _statusline(5, dir)                   \
82 82
                         _statusline(6, dir)                   \
83
-                        default: LOG(L_INFO, "ERROR: unusual status code"\
84
-										 " received in stats (%s)\n", #dir); \
83
+                        default: LM_INFO("unusual status code received in stats (%s)\n", #dir); \
85 84
                 }       \
86 85
         }while(0)
87 86