Ruda Porto Filgueiras
f87341d263
Deleting objects to make sure garbage collector will release memory.
6 years ago
Ruda Porto Filgueiras
9c25f86c9f
Merge remote-tracking branch 'upstream/master'
6 years ago
Ido Halevi
b75ae59353
Merge pull request #38 from logzio/bump-version
update setup.py + readme to version 2.0.12
6 years ago
idohalevi
e3874b3192
update setup.py + readme to version 2.0.12
6 years ago
Ido Halevi
a43ff9cf26
Merge pull request #36 from Sytten/feature/add-backup-logs-flag
Add flag to disable the local backup of logs
6 years ago
Ido Halevi
a4d6eb97f7
Merge pull request #37 from logzio/remove-tox-python3.3
remove python3.3 from testing
6 years ago
idohalevi
f9a97ade6d
remove python3.3 from testing
6 years ago
Emile Fugulin
ca7be192be
Add flag to disable the local backup of logs
6 years ago
whitesource-bolt-for-github[bot]
8380c4d3cf
Initial WhiteSource configuration file
6 years ago
Ruda Porto Filgueiras
04bfdd093c
Removing travis check for python 3.3 since tox do not support it and most libraries already removed support for the old python 3.3.
6 years ago
Ruda Porto Filgueiras
97eabc1137
Added alternative way to limit max number of logs when running in pypy since sys.getsizeof raises TypeError.
6 years ago
Ruda Porto Filgueiras
1aa324b08c
Changing again
6 years ago
Ruda Porto Filgueiras
395e4f2e79
Fix intreperter names for pypy.
6 years ago
Ruda Porto Filgueiras
047cfab3d5
Added travis and tox configuration for pypy 2.7 and 3.5.
6 years ago
Roi Rav-Hon
19909d1fd9
Remove the exception info from the formatting
7 years ago
Roi Rav-Hon
b7a2913d72
Merge pull request #28 from logzio/format-messages-on-exceptions
Treat exception and non-exception the same
7 years ago
Roi Rav-Hon
b532a29d76
Even more pep8\!
7 years ago
Roi Rav-Hon
4bf2d09062
More pep8
7 years ago
Roi Rav-Hon
d3ee46e88c
pep8
7 years ago
Roi Rav-Hon
f14c580266
Treat exception and non-exception the same
7 years ago
Roi Rav-Hon
8b109ce061
Version bump, and include test package
7 years ago
Roi Rav-Hon
3d4f6909b7
Merge pull request #25 from asafc64/master
Fixed ignored extra fields when logging exceptions
7 years ago
asafc64
a302845b76
Fixed ignored extra fields when logging exceptions
7 years ago
Roi Rav-Hon
a041aba092
Version bump
7 years ago
Roi Rav-Hon
a417ce51ea
Merge pull request #19 from nir0s/various-optimizations
Various optimizations
7 years ago
nir0s
344d4e85b0
Fix conflicts with upstream
7 years ago
nir0s
79d49b8038
Remove TODOs from code
7 years ago
Roi Rav-Hon
d760a3ed21
Version bump
7 years ago
Roi Rav-Hon
25318785a6
Merge pull request #20 from OspreyInformatics/master
Ensure sending thread is alive before appending log message
7 years ago
Jotham Apaloo
c6c8171a68
Revert "Leave initialization in c'tor, just call start() where needed"
This reverts commit d41ceabe82
. Which I suspect
does not work because the thread is stateful, i.e. after os.fork the thread in
copy of the process thinks it has already been started, even though it is not
alive. Probably safest to just get a new thread instance if a thread is not alive.
7 years ago
Jotham Apaloo
d41ceabe82
Leave initialization in c'tor, just call start() where needed
7 years ago
Jotham Apaloo
b1950d5038
Fix logs buffer clearing and clear it before each test
7 years ago
Jotham Apaloo
fcac03ae7f
Ensure parent process messages still received after fork
7 years ago
Jotham Apaloo
066f73264d
Make logzio handler log correctly after os.fork()
7 years ago
nir0s
a40a5193ac
Add .gitignore
7 years ago
nir0s
91f61ad8b1
Fix py3flake8 problems
7 years ago
nir0s
22dd58cf3e
Redo testing to use tox
7 years ago
nir0s
b0120dd869
Oops, add forgotten logger
7 years ago
nir0s
9da3e76b08
Replace "print" statements with a logger. Come on, it's 2018!
Also, only use lazy logger string formatting evaluations
7 years ago
nir0s
92b612f62f
Use single quotes instead of double quotes all around
7 years ago
nir0s
8ab14130d5
Format strings realistically and consistently
* Use non-marked format holders since we only support 2.7+
* Use format holders, only, no concat
7 years ago
nir0s
be328d3b26
Verify the token is not anything empty, not just "not an empty string"
If you pass an empty list, tuple, False, 0, whatever.. it will assume th
token is valid, which it isn't.
7 years ago
nir0s
2de666e92c
Use LogzioException when validating token
7 years ago
nir0s
27b212d2b7
Add LogzioException class
Currently the module raises generic Exception (very "don't do it")
7 years ago
nir0s
b511e9ed21
Fix some flake8 stuff and organize imports
7 years ago
Roi Rav-Hon
5a351b8fec
Version bump
7 years ago
Roi Rav-Hon
7b806081b8
Merge pull request #18 from orenmazor/manual_draining
Manual draining
7 years ago
Oren Mazor
cc31353d25
fix semantics I rushed through the first time. the handler shouldn't call a private method on the sender
7 years ago
Oren Mazor
27f76c2136
typo
7 years ago
Oren Mazor
7b2040706f
PEP8
7 years ago