You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In discussing logging issues @anadahz it seems like ooniprobe generates too much logging information that is especially bad when running it on a raspberry pi.
I am going to propose that as part of reducing the amount of logs ooniprobe generates we do the following:
Separate the logging to file from writing messages to the console (there are certain bits of information that are not needed in the log and are only useful to a user running ooniprobe)
Introduce log levels to separate critical logging from non critical logging
@hellais
Currently ooniprobe logging does not differentiate messages printed in stdout (screen output) and stderr (error messages output to the screen). It will be really useful and save a vast amount of disk space if the error log msgs could be save in a separate file rather than one log file.
Perhaps this is already implemented in: Add support for differentiating between standard error and standard output
Hum, well what I have added support for in 109fffc864d946ad83d20a74c66639500960c5e8 is loglevels. This means you can set the loglevel to be, say, WARNING or ERROR and the logfile will only have in it error level messages.
Moreover now there is a distinction between stderr and stdout, in the sense that error messages are printed to the standard error output stream, while other messages are printed to the standard output.
The text was updated successfully, but these errors were encountered:
@hellais commented on Fri May 13 2016
In discussing logging issues @anadahz it seems like ooniprobe generates too much logging information that is especially bad when running it on a raspberry pi.
I am going to propose that as part of reducing the amount of logs ooniprobe generates we do the following:
@anadahz commented on Mon May 16 2016
After discussion with @hellais I 'll add to this list:
@bassosimone commented on Mon May 16 2016
Regarding logging, see also #415.
@hellais commented on Thu Jul 28 2016
@anadahz what do you mean exactly by "Add support for STDERR logging to file"?
@anadahz commented on Fri Jul 29 2016
@hellais
Currently ooniprobe logging does not differentiate messages printed in stdout (screen output) and stderr (error messages output to the screen). It will be really useful and save a vast amount of disk space if the error log msgs could be save in a separate file rather than one log file.
Perhaps this is already implemented in:
Add support for differentiating between standard error and standard output
@hellais commented on Fri Jul 29 2016
Hum, well what I have added support for in 109fffc864d946ad83d20a74c66639500960c5e8 is loglevels. This means you can set the loglevel to be, say, WARNING or ERROR and the logfile will only have in it error level messages.
Moreover now there is a distinction between stderr and stdout, in the sense that error messages are printed to the standard error output stream, while other messages are printed to the standard output.
The text was updated successfully, but these errors were encountered: