code cleanup
making it possible to set log buffer space at runtime
doxygen comment cleanup