logger: reclaim RAM
Add some makefile flags

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>