and more from logging
exit codes should be const