add a logging-state atom