few additions to logging system