changed parameter name and logger levels