This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
When I changed the filter, I get this error parsing:
2013-09-09 11:53:27 [INFO] [obuShutTheHellUp version 0.4] while parsing a flow sequence in "<reader>", line 16, column 13: filters: [ ^ expected ',' or ']', but got FlowMappingStart in "<reader>", line 18, column 9: { type: 'string', value: 'lost c ... ^ 2013-09-09 11:53:27 [INFO] [obuShutTheHellUp version 0.4] Controlled stack trace bellow: 2013-09-09 11:53:27 [SEVERE] while parsing a flow sequence in "<reader>", line 16, column 13: filters: [ ^ expected ',' or ']', but got FlowMappingStart in "<reader>", line 18, column 9: { type: 'string', value: 'lost c ... ^
Config:
{ # ObuShutTheHellUp has a timed functionality that deals with incompatibilities with other plugins, this fixes other plugins that 'steal' the log filter. activateTimer: false, # timerDelay > 0: fix runs for the first time after <timerDelay> seconds timerDelay: 5, # timerPeriod = 0: turned off - runs only once # timerPeriod > 0: turned on - fix runs every <timerPeriod> seconds after the first time timerPeriod: 0, # type: # 'string' - log entry is filtered if this value is contained in the message's text. # 'regex' - log entry is filtered if the message's text matches at least once in the regular expression. # value: # the value to be compared (either by string comparison or by regular expression) # level: # 'INFO'/'WARNING'/'FATAL'/'ANY'/etc - the value of the log level) filters: [ { type: 'string', value: 'end of stream', level: 'SERVERE' } { type: 'string', value: 'lost connection', level: 'INFO' } { type: 'string', value: 'overloaded?', level: 'WARNING' } { type: 'string', value: 'compatible nms block', level: 'WARNING' } ] }
Well it isn't mention but you if you have multiple rows you need to add a , after each row( except the last).
Example yours:
filters: [ { type: 'string', value: 'end of stream', level: 'SERVERE' }, { type: 'string', value: 'lost connection', level: 'INFO' }, { type: 'string', value: 'overloaded?', level: 'WARNING' }, { type: 'string', value: 'compatible nms block', level: 'WARNING' } ]
To post a comment, please login or register a new account.