printing pausing function log