streamparse
streamparse copied to clipboard
no logging at all
i've configured logging as this in config.json:
"log": {
"path": "/var/log/storm",
"file": "pystorm_{topology_name}_{component_name}_{task_id}_{pid}.log",
"max_bytes": 1000000,
"backup_count": 10,
"level": "info"
},
the log files are created for each component/task/pid. however almost every bolt has statements like self.logger.info('blah blah')
in their process method, there is no log entry in files after many tuple processing. what is wrong here?
Try to use self.logger.warn() or self.logger.error() to see if the problem is with "log_level" configuration or somewhere else.
already tried with self.logger.warn() with no effect
even sparse run
does not print log messages in stdout nor in log files
is it normal?
@mbande No, that's very strange. What versions of streamparse and pystorm are you using?
streamparse==3.2.0 pystorm==3.0.3