Modular SQL injection and fixed log SQL