Better implementation of klogger sysctl