Comments (5)
@timhemel when I print the value of uselogging in log() it says "None". Probably scoping?
from binaryanalysis-ng.
It is better to pass the logger and with it uselogging, as parameters to each process. This prevents that garbage collection in the parent process affects the other processes or something along those lines. But even better is to have each process log to its own file, this prevents the logfile being a bottleneck, and makes it easier to see what happens in each thread.
from binaryanalysis-ng.
perhaps rework according to the best practices here? https://docs.python.org/3/howto/logging.html
from binaryanalysis-ng.
Yes, and reading https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes suggest that each process should log to its own file.
from binaryanalysis-ng.
Confirmed that the fix works.
from binaryanalysis-ng.
Related Issues (20)
- Qt Installer Framework
- Organize an own repo with KS specs HOT 1
- Open Source License scanning for Binary files HOT 12
- merge scanning of various DOS/MZ/NE/PE files HOT 1
- How does this relate to diffoscope? HOT 1
- Re-engineering interest? HOT 1
- ZIP: 64 bits data descriptor fields
- android_sparse_data: not working well with multiple threads
- Any usage? HOT 2
- Execution of `nix-shell analysis.nix` fails HOT 2
- python error HOT 2
- Failed to parse linux ubuntu 20.04 kernels HOT 8
- Suggest adding methods to scan folders and to detect duplicated files HOT 6
- Propagate password hints to unpackers
- Recover/resume interrupted scans
- A recent update broke down ELF scans HOT 8
- Bang get stucked as <defunct> after one of the jobs failed to create symlinks HOT 2
- Strings in .jar are splitted unexpectedly HOT 6
- It is possible to add a parser to support msi packages? HOT 2
- Section "strings" are missed in metadata (7-zip.dll, 7-zip32.dll, 7z/***.exe)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binaryanalysis-ng.