setting.py static+logging