summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/logs
AgeCommit message (Collapse)Author
2015-10-06[bug] store logs in the right placeIvan Alejandro
Load flags before creating logger so the logs path considers the standalone flag. Move the log file path definition to the function, otherwise it will calculated during import and (most likely) before defining the flags.STANDALONE value. Create logger inside `run_frontend` right after knowing if we are standalone or not. - Resolves: #7512
2015-10-02[bug] remove bubble argument from the logbook NullHandlerRuben Pollan
NullHandler doesn't have anymore the argument bubble. https://pythonhosted.org/Logbook/changelog.html#version-0-11-0
2015-09-17[style] pep8 fixesKali Kaneko
2015-09-14[pkg] revert attempt to be compatible with logbook 0.6.0Kali Kaneko
we need the 'multi' feature all the same, so we'll be depending on logbook >= 0.7.0.
2015-09-11[bug] fix importKali Kaneko
there's an error in the import
2015-09-10[bug] add compatibility for logbook versions < 0.7.0Kali Kaneko
for the version in ubuntu trusty, the call for the zeromq handler initialization gets one less argument
2015-07-20[bug] prevent logbook subscriber to failIvan Alejandro
Fix: If the logbook controller is not started the stop call will fail. Trying to start it twice fails.
2015-07-06[bug] run zmq log subscriber in backgroundIvan Alejandro
Prevent locks caused by the zmq log handler reaching the zmq's HWM (High water mark / buffer limit) and causing some components to block until the buffer is empty (running the zmq handler for instance). We run the zmq handler in the background all the time to prevent this. - Resolves: #7222
2015-06-29[bug] log contains exported PGP private keyIvan Alejandro
Due to #7139 (the logbook log centralizer) logs from 3rd party libs are included in the centralized logs with lots of debug information and we don't want that. We use the existing silencer to exclude logs that are not from leap modules. - Resolves: #7185
2015-06-22[bug] make sure log path existsIvan Alejandro
The logger is the first thing to be created and on a first run the config path won't exist. This way we make sure the path always exists.
2015-06-22[feat] add log rotation featureIvan Alejandro
Rotate bitmask.log file on each start.
2015-06-22[feat] handle twisted/logging logs with logbookIvan Alejandro
Forward Twisted logs to logging and use logbook to handle logging logs. Store the bitmask logs on the config folder.
2015-06-22[feat] replace old log handler with new oneIvan Alejandro
Replace logging.getLogger with custom get_logger. Remove some unneeded dependencies and reorder other.
2015-06-22[feat] add a zmq based logger, change log windowIvan Alejandro
- Add a new handler for a zmq/thread-safe log send between components. - Update the log window to use this new handler. - Remove old custom handler We have implemented a new handler that uses logbook, so this one is no longer needed. - Adapt log silencer to new handler - Use log file always as default - Related: #6733
2014-06-09Use a more significative name for logger helper.Ivan Alejandro
2014-06-05Reorder logging helpers and handlers.Ivan Alejandro