File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function setupLogging(category, options) {
24
24
callback ( 'throw redis error #1' ) ;
25
25
} ,
26
26
publish : function ( channel , message , callback ) {
27
- msgs . push ( { channel : channel , message : message } ) ;
27
+ msgs . push ( message ) ;
28
28
callback ( null , { status : 'sent' } ) ;
29
29
}
30
30
} ;
@@ -101,8 +101,7 @@ test('log4js redisAppender', (batch) => {
101
101
type : 'redis' ,
102
102
category : 'redis' ,
103
103
layout : {
104
- type : 'pattern' ,
105
- pattern : '%d{yyyy-MM-dd hh:mm:ss:SSS}#%p#%m'
104
+ type : 'tester'
106
105
}
107
106
} ) ;
108
107
@@ -125,8 +124,7 @@ test('log4js redisAppender', (batch) => {
125
124
type : 'redis' ,
126
125
category : 'redis' ,
127
126
layout : {
128
- type : 'pattern' ,
129
- pattern : '%d{yyyy-MM-dd hh:mm:ss:SSS}#%p#%m'
127
+ type : 'tester'
130
128
}
131
129
} ) ;
132
130
@@ -156,8 +154,7 @@ test('log4js redisAppender', (batch) => {
156
154
type : 'redis' ,
157
155
category : 'redis' ,
158
156
layout : {
159
- type : 'pattern' ,
160
- pattern : '%d{yyyy-MM-dd hh:mm:ss:SSS}#%p#%m'
157
+ type : 'tester'
161
158
}
162
159
} ) ;
163
160
setTimeout ( ( ) => {
You can’t perform that action at this time.
0 commit comments